The library can then be used as follows: import betfairlightweight trading = betfairlightweight. The default directory where the library is looking for the keys is '/certs' but you can specify any other directory. SSL certificatesįollow these instructions to set up your SSL certificates. App Keyįollow these instructions to get your app key, you can either use a delayed or live key. In order to connect to the Betfair API you will need an App Key, SSL Certificates and a username/password. To use C/Rust libraries install with $ pip install betfairlightweight setup installation $ pip install betfairlightweight Lightweight, super fast (uses C and Rust libraries) pythonic wrapper for Betfair API-NG allowing all betting operations (including market and order streaming) and account operations, see examples.Ĭurrently tested on Python 3.8, 3.9, 3.10 and 3.11.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |