LUELON PLAYDEVELOPER GUIDE · DEMO API v1

BUILT FOR YOUR SHOWCASE

One integration.
Every game.

Add our entire game library to your website with one iframe. New published games appear automatically, with no new installation on your side. We host and update the games. No API key or wallet connection required.

Demo only · 2,500 virtual credits · No deposits, withdrawals or redeemable winnings

1. Choose what to show

2. Paste this into your page

Loading example…

Use an HTTPS presentation site. Local development also works on localhost and 127.0.0.1. If your site uses a Content Security Policy, allow https://luelonplay.com in frame-src. Audio starts after the player enters the game.

The frame adapts to its container. Keep it at least 320 CSS pixels wide and give mobile players enough height. The collection loads only the selected game. Returning to the library removes that game and stops its rendering and sound; it never starts 30–40 games together.

No iframe sandbox is required: the game runs on a separate origin. If your platform adds one, it must permit allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox. Restricting these may prevent gameplay or the studio link from opening.

Open the entire collection ↗

Try the entire collection

Select “Load preview” to explore the collection.

3. Using your own lobby? One API returns every game

Fetch this endpoint once to get the complete current catalogue, then render a card for each item in its games array. Do not hardcode game IDs or copy launch links by hand. English is the default; use ?lang=tr for Turkish game names and launch links. CORS is enabled for this catalogue endpoint.

GET https://luelonplay.com/demo-api/v1/games?lang=en
View JSON catalogue ↗

Each entry provides id, name, artworkUrl, playUrl, embedUrl, category and demo rule version. The response also supplies libraryUrl for the complete ready-made collection. Use the supplied URLs. Sessions and game requests are handled inside the iframe; do not call the internal gameplay endpoints from your site.

4. Ready-to-use lobby thumbnails

artworkUrl is a composed 480 × 320 WebP cover with the game logo built in. thumbnail.variants adds 240, 480 and 960 pixel versions with dimensions and checksums. Preserve the 3:2 ratio and avoid cropping the title. New image revisions use new URLs; refresh existing game records and your image cache when those URLs change.

Preview and download every game cover ↗

Open a minimal partner integration example ↗

Updates without another integration

The library loads the current catalogue whenever it opens and refreshes it every five minutes while visible and idle. A game in progress is left alone. New games appear after we publish them to the catalogue; the partner’s embed code stays the same.

For your own lobby, fetch the catalogue when the lobby opens and periodically refresh it. Add new IDs, update changed entries and remove IDs no longer returned. Use each entry’s URLs to open the selected game. There is no game-file transfer or server installation on your side.

What your team needs to know