Forum » Programiranje » Client api url
Client api url
programercek ::
Zdravo,
imam zelo velik problem, ki ga nikakor ne znam rešiti.
Želim s c# poklicati igre vendar v nobenem primeru ne morem in ne morem najti rešitve,
če je to sploh možno. Pravijo, da je vse napisano v dokumentaciji.
Ampak kako poklicati določeno igro, če ne veže na nobeno spletno stran.
Pravi link s kateri je mogoče dobiti igro je: http://staging2.casino.softswiss.com/pl...
Preverite v spodnji dokumentaciji in za vsak komentar in pomoč vam bom hvaležen!
Integration
Client provides client_api_url and receives our gaming server url (backend_url), serverid and auth_token.
We use following terms:
Client_api_url - client's api url, example https://casino.com/softswiss_integratio.... All requests are sent to this address.
Backend_url - our backend server base url, example https://play.softswiss.com/.
Server_id - is used for identification at backend server.
Auth_token - token that is used to sign requests from backend (us) to client.
Games catalog
Client can receive list of games via api request.
Request
get backend_url/api/tables? Server_id=abc123
Response will contain array of table records.
Table record structure
[
...
{
Title: 'blackjack multihand',
Category: 'card',
Base_type: 'blackjack',
Variation: 'multihand',
Currency: 'usd',
Path: '/play/abc123/blackjack/multihand/78'
},
...
]
You can get this list, cache it, and show to your users. You should care about games preview images (but we can provide some sources) and about currencies. For example, don't show usd tables to players that use eur.
Initialize game
When user selects game, you should redirect him to our server to the following url backend_url/table_path? Server_id=server_id&token=user_token
https://play.softswiss.com/play/blackja...
There is user_token in this request. User_token should be a unique alphanumeric sequence, that identifies your player and we will use it in next actions for authentification.
After requested game is initialized. It will make following requests:
imam zelo velik problem, ki ga nikakor ne znam rešiti.
Želim s c# poklicati igre vendar v nobenem primeru ne morem in ne morem najti rešitve,
če je to sploh možno. Pravijo, da je vse napisano v dokumentaciji.
Ampak kako poklicati določeno igro, če ne veže na nobeno spletno stran.
Pravi link s kateri je mogoče dobiti igro je: http://staging2.casino.softswiss.com/pl...
Preverite v spodnji dokumentaciji in za vsak komentar in pomoč vam bom hvaležen!
Integration
Client provides client_api_url and receives our gaming server url (backend_url), serverid and auth_token.
We use following terms:
Client_api_url - client's api url, example https://casino.com/softswiss_integratio.... All requests are sent to this address.
Backend_url - our backend server base url, example https://play.softswiss.com/.
Server_id - is used for identification at backend server.
Auth_token - token that is used to sign requests from backend (us) to client.
Games catalog
Client can receive list of games via api request.
Request
get backend_url/api/tables? Server_id=abc123
Response will contain array of table records.
Table record structure
[
...
{
Title: 'blackjack multihand',
Category: 'card',
Base_type: 'blackjack',
Variation: 'multihand',
Currency: 'usd',
Path: '/play/abc123/blackjack/multihand/78'
},
...
]
You can get this list, cache it, and show to your users. You should care about games preview images (but we can provide some sources) and about currencies. For example, don't show usd tables to players that use eur.
Initialize game
When user selects game, you should redirect him to our server to the following url backend_url/table_path? Server_id=server_id&token=user_token
https://play.softswiss.com/play/blackja...
There is user_token in this request. User_token should be a unique alphanumeric sequence, that identifies your player and we will use it in next actions for authentification.
After requested game is initialized. It will make following requests:
- polepsal: Mavrik ()
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Seznam Airdropov! Free crypto (strani: 1 2 3 4 … 24 25 26 27 )Oddelek: Kriptovalute in blockchain | 160613 (7760) | smmsmrtn |
» | skripta za pošiljanje brezplačnih sms sporočil (strani: 1 2 3 4 )Oddelek: Programiranje | 44491 (9731) | AštiriL |
» | Facebook publishOddelek: Izdelava spletišč | 1270 (791) | user4683 |
» | Apache - localhost JA, IP naslov NEOddelek: Omrežja in internet | 6602 (6461) | ManDriver |
» | Valve & STEAM & On-Line gaming (strani: 1 2 )Oddelek: Igre | 8263 (6685) | Tilen |