3.0.0 • Published 5 years ago

@ayinla/betfair v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Betfair · Build Status

Promise based betfair api wrapper

Documentation.

installation

$ npm install @ayinla/betfair

setup

Add your api key, username and password to environment variables

export apiKey="appkey"
export username="human"
export password="enthusiast"

The library can then be used as follows:

>>> import  { login , listEventTypes} from '@ayinla/betfair' 

>>> const { apiKey, username, password } = process.env;

>>> const { token } = await login(apiKey)({ username, password})

>>> const eventTypes = listEventTypes(API_KEY, token)({filter: {}})
3.0.0

5 years ago

2.0.0

5 years ago

1.0.8

6 years ago

1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago