Games catalog API

The platform can provide to Smartico with a simple HTTP REST API to expose the list of Casino games or/and Sports events.

This information will be used to associate Missions and Tournaments with exact games on the Platform, show names and images, and link the user to the game page.

To have this option, the external system should provide REST HTTP/S API available with GET/POST methods and return a JSON array with the id/name/image/link of all games. Example of response

[
    {
        "id": 123,
        "name": "Super slot",
        "link": "https://sone.com/game1",
        "image": "https://some.com/1.png",
        "enabled": true,
        "game_categories": ["Slots", "Live"],
        "game_provider": "RTG"
    },
    {
        "id": 124,
        "name": "Super slot 2",
        "link": "https://sone.com/game1",
        "image": "https://some.com/1.png",
        "enabled": true,
        "game_categories": ["Poker"],
        "game_provider": "Playtech"             
    },
    ....
]

Notes:

  • API should be publicly available but can be protected with static keys for Basic Authorization of static secret tokens in HTTP headers.

  • Game categories and provider are optional fields

  • link field can be related to the root of the site, e.g. "/start-game/game1" or could be a javascript, e.g. "javascript:startGame(123)"

Last updated

Change request #417: