cloudbet

Cloudbet Virtual Crypto Casino API Client

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:25

Tags

Installation

nimble install cloudbet
choosenim install cloudbet
git clone https://github.com/juancarlospaco/cloudbet

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
cloudbet - - - - - - -

Source

Repository https://github.com/juancarlospaco/cloudbet
Homepage https://github.com/juancarlospaco/cloudbet
Registry Source nimble_official

README

Cloudbet Virtual Crypto Casino API Client

Requisites

  • Cloudbet account, get it for free at https://www.cloudbet.com/en/auth/sign-up
  • Valid API Key and API Secret, get it for free at https://www.cloudbet.com/en/player/api

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

  • https://www.cloudbet.com/en/blog/posts/sports-betting-api-tutorial-with-golang
  • https://github.com/Cloudbet
  • https://gist.github.com/kgravenreuth/6703e1e213aecac4d5728f2f699d34e7
  • https://github.com/Cloudbet/docs/discussions

More

  • See also https://github.com/juancarlospaco/binance#binance
  • See also https://github.com/juancarlospaco/tradingview#tradingview

Stars

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