Kotlin Betfair API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rinko
    Junior Member
    • Oct 2019
    • 2

    #1

    Kotlin Betfair API

    I've seen quite a few examples of people struggling to get started or difficulties with login so I decided that I might be able to make a few peoples lives easier by writing my own library for the Betfair API in Kotlin.

    It's in the early stages and it's a hobby so please don't expect super fast development but I think there is enough for people get started with any projects they want.

    Why have I done this?
    1. I fancied myself a project
    2. I wanted to create an automated betting bot so creating this lib is a lot of the legwork for me.
    3. Make the API more accessible for all.

    So far you will see the Account, Betting & Heartbeat API implemented in the lib. I have plans to add Race Status, MAYBE the Stream API but not the Historical Data or Exchange Games API unless I find that I need them.

    Also implemented is the non-interactive login, where you can easily get your session token by providing a .p12, username and password.

    There are tests for most of the functions, however I have found that with a growing test class my old computer can't handle the size of the file so I have missed the final few betting operations. They have of course been tested manually but not extensively. I recommend you test this lib yourself before using it. Disclaimer: I am not in anyway responsible for any losses or failures incurred by using this library, please use at your own risk.

    Link to Gtihub: https://github.com/rinkledink/Kotlin-Betfair-API

    Any feedback welcome, always looking for improvements.
Working...
X