1.0.4 • Published 8 years ago

@ayinla/betfair v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 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

7 years ago

2.0.0

7 years ago

1.0.8

8 years ago

1.0.6

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago