Skip to content

RaceAssist/RaceAssist-API-cf-workers

Repository files navigation

RaceAssist-API

API for saving and retrieving RaceAssist results, betting history, etc.

Setup

run:

$ npm run deploy

Usage

Note: * indicates that authentication is required

GET https://example.com/v1/result/record/<key>.json
Retrieves the race result specified by the key.

GET https://example.com/v1/result/list
Get a list of race result keys

POST* https://example.com/v1/result/push/<key>
Send race result

GET* https://example.com/v1/bet/record/<key>.json
Retrieves the betting history specified by the key.

GET* https://example.com/v1/bet/list
Get a list of betting history keys

POST* https://example.com/v1/bet/push/<key>
Send betting history

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published