-
-
Save jeffscottward/04c9f29011c9f5fd7560 to your computer and use it in GitHub Desktop.
// "/en/sports_api/" + r + "/bets" | |
// "/en/sports_api/live/events?markets=none"; | |
// "/en/sports_api/live/event/" + t, | |
// "/en/sports_api/pre_match/competition/" + t + "/events" | |
// "/en/sports_api/pre_match/event/" + t, | |
// "/en/sports_api/pre_match/" + e.node + "/" + e.nodeid + "/events" : | |
// "/en/sports_api/pre_match/events" | |
// "/en/players/" | |
// "/en/players/bet_slips" | |
// "/en/players/rollover_bonuses" | |
// "/en/players/bonuses/accept" | |
// "/en/players/checkga" | |
// "/en/players/password" | |
// "/en/players/password/new" | |
// "/en/players/password/confirmation" | |
// "/en/players/sign_up" | |
// "/en/players/sign_out" | |
// "/en/players/sign_in" | |
// "/en/players/sign_in?redirect_to" | |
// "/en/players/wallets/generate" | |
// "/en/players/wallets/withdrawal" | |
// "/en/players/wallets/deposit" | |
// "/en/players/wallets/withdrawal_new" | |
// "/en/players/wallet_transactions" | |
// "/en/players/settings" | |
// "/en/players/settings/unsubscribe" | |
// "/en/players/settings/password" | |
// "/en/players/confirmation" | |
// "/en/players/confirmation/new" | |
// "/en/players/confirmation/confirmation" | |
// "/en/sports/" | |
// "/en/sports/" + ID | |
// "/en/sports/" + ID + "/category/" + CATEGORYID | |
// "/en/sports/live" | |
// "/en/sports/live/event/" + ID | |
// "/en/sports/live_new/event/" + ID | |
// "/en/sports/success" | |
// "/en/sports/event/" + ID | |
// "/en/sports/competition/" + ID |
The API listed in this gist is outdated.
I'm an engineer at Cloudbet and I'm happy to tell you that Cloudbet API is publicly available at https://www.cloudbet.com/api/ and provides you with Feed, Trading and Account APIs. This allows you to both access Cloudbet feeds and bet on odds offered by Cloudbet.
Cloudbet Feed API Docs
Cloudbet Trading API (Betting API) Docs
Cloudbet Account API Docs
Yea at the time i was trying to build an automated betting bot. When into source maps and ripped those out.
Good to know :)
hi jeff, i have no problems with the feed api, but on the trading api i always get FORBIDDEN despite sending the api-key like this
headers = {
'X-API-Key': 'eyJhbGciOiJSUzI1NiIsIm.....',
'accept': 'application/json',
'Content-Type': 'application/json'
}
r = requests.post(url, data=json.dumps(data), headers=headers)
why is this??
hi jeff, i have no problems with the feed api, but on the trading api i always get FORBIDDEN despite sending the api-key like this
headers = {
'X-API-Key': 'eyJhbGciOiJSUzI1NiIsIm.....',
'accept': 'application/json',
'Content-Type': 'application/json'
}
r = requests.post(url, data=json.dumps(data), headers=headers)why is this??
Hi, there could be a few reasons for the 403 FORBIDDEN response on the Cloudbet Trading API which you've observed. One possible issue is:
Geographical restrictions
: Please note that the Cloudbet Trading API access is restricted in certain jurisdictions and the latest list of these jurisdictions can be found in the Cloudbet Trading API (Betting API) Docs as well as in the Cloudbet Terms & Conditions. If you access the Cloudbet Trading API from any restricted country, you would receive a 403 FORBIDDEN response.
hi jeff, i have no problems with the feed api, but on the trading api i always get FORBIDDEN despite sending the api-key like this
headers = {
'X-API-Key': 'eyJhbGciOiJSUzI1NiIsIm.....',
'accept': 'application/json',
'Content-Type': 'application/json'
}
r = requests.post(url, data=json.dumps(data), headers=headers)
why is this??Hi, there could be a few reasons for the 403 FORBIDDEN response on the Cloudbet Trading API which you've observed. One possible issue is:
Geographical restrictions
: Please note that the Cloudbet Trading API access is restricted in certain jurisdictions and the latest list of these jurisdictions can be found in the Cloudbet Trading API (Betting API) Docs as well as in the Cloudbet Terms & Conditions. If you access the Cloudbet Trading API from any restricted country, you would receive a 403 FORBIDDEN response.
thanks worked now, going over austrian Vpn :-)
hello what are you able to do with this API, are you able to make bets?