No description
Find a file
2025-12-16 06:52:56 +00:00
.github Create add-stars.yml 2022-02-19 11:03:06 -08:00
docs Improve code I hope [skip ci] 2022-02-20 16:57:34 -08:00
src Improve code I hope [skip ci] 2022-02-20 16:59:00 -08:00
.gitignore Initial commit 2022-02-18 12:31:01 -08:00
cloudbet.jpg Add Marketing lies 2022-02-19 10:41:12 -08:00
cloudbet.nimble Add Documentation 2022-02-19 10:48:24 -08:00
LICENSE Initial commit 2022-02-18 12:31:01 -08:00
README.md Regenerate build artifacts. 2025-12-16 06:52:56 +00:00

Cloudbet Virtual Crypto Casino API Client

Requisites

Examples

import std/[httpcore, uri], cloudbet
let client: Cloudbet = newCloudbet(apiKey = "YOUR_CLOUDBET_API_KEY")
let preparedRequest = client.getSports()
doAssert preparedRequest is tuple[metod: HttpMethod, url: Uri, headers: array[3, (string, string)], body: string]
# Use "preparedRequest" with HttpClient, JsFetch, JsHttpClient, xmlhttprequest, or your favorite HTTP lib, etc...

KISS design, only uses httpcore, uri, macros from StdLib, 0 Dependencies.

Limits

From Cloudbet API Docs:

When using the API be considerate. If the bet rejection rate on the betting API is too high (>75% on your last 100 bets), your account will be flagged for abusive behaviour. You may get blocked for up to 7 days for integrity checks. Bet endpoint has a rate limit of 1 Request per second.

More about Cloudbet

More

Stars

@juancarlospaco @luisacosta828 @mrgaturus @Nacho512 @AndrielFR @kgravenreuth @hugosenari @novocaine1926 @DaGrizzly1 @jpaslay @teroz @mackbdev @oguzakd @MrDeeleon @virgoancode @prorab2011 @kacoom @ZeVK1 @fernando-aristizabal @chrisbasker-dot