Feed Integration
Introduction
1. WebSocket (Powered by SignalR)
2. REST API
Quick Links
Terms and definitions
Term | Definition |
---|---|
Partner | API integration service provided by a Partner. |
Authentication token | A unique, alphanumeric identifier created on the Partner's side to represent each user. This token acts as a secure credential, enabling access to protected resources and functionalities. It is essential for verifying the user's identity when requesting authentication, retrieving personalized data, and acquiring interaction tokens. |
Partner Client | Сlient-side application (such as a web interface or cash desk system) that enables users to place bets on BETCORE games. It's the interface through which your users interact with the BETCORE betting experience. |
BETCORE | A robust hardware and software system that enables the real-time distribution of games to partner platforms. |
User (player) | A person who bets on games. |
WebFrame | The client software solution that provides an interface for betting on BETCORE games. WebFrame is an adaptive embeddable web element that can be added to a website or mobile application. |
Integration Requirements
Connect the necessary client libraries.
Obtain the required authorization credentials.
Architecture
Program Interfaces
REST
API | Short Description |
---|---|
POST /auth/token | Authorization. |
GET /games/info | Get the game result by ID. |
GET /games/types/translations | Get types of translations. |
GET /jackpots/accumulated | Get the accumulated jackpot amount. |
Websocket
Connection to HUB service | URL: wss://backend.bcdprod.net/signalrhub-livefeed-service/hubs |
---|---|
Query param: | access_token=JWT |
Query message: | { "protocol": "json", "version": 1 } |
Response messages: | { "type":6 } - sign that the connection is established. |
List of Subscriptions You Can Use
Subscription | Short Description |
---|---|
SubOnWholeGamesInfo | Getting game results. |