betfairlightweight (python wrapper)

Post Reply
LinusP
Posts: 1743
Joined: Mon Jul 02, 2012 10:45 pm
Contact:

Just reached version 1.0 on betfairlightweight, I have added a simple tutorial to help anyone just getting started with the language/API.

https://underround.wordpress.com/

https://github.com/liampauling/betfairlightweight
User avatar
jimibt
Posts: 2722
Joined: Mon Nov 30, 2015 6:42 pm

cheers liam -much appreciated. even as a dyed in the wool c# .net dev, i get a lot from reading thro python code (and any other for that matter).

again, great work -thanks
poklius
Posts: 102
Joined: Sun May 17, 2009 11:58 am

Amazing work, thanks!
Arnold1
Posts: 8
Joined: Mon Apr 03, 2017 10:28 am

+1 thanks a lot, very useful CHEERS
User avatar
HRacing
Posts: 278
Joined: Tue May 14, 2013 11:25 am

Just wondered if anyone could help, iv managed to create a certificate to try and enable me to use LinusP's betfairlightweight however I
am still unable to log in. My certificate seems to have uploaded successfully.
You do not have the required permissions to view the files attached to this post.
LinusP
Posts: 1743
Joined: Mon Jul 02, 2012 10:45 pm
Contact:

What's the error / which file did you upload?
User avatar
HRacing
Posts: 278
Joined: Tue May 14, 2013 11:25 am

it seemes that i dont have the required .crt file to upload onto my account, i have the other 2 files that are requested but dont seem able to get the .crt file hmmm
User avatar
HRacing
Posts: 278
Joined: Tue May 14, 2013 11:25 am

right managed to get .crt file and uploaded to betfair. Ran there sample python code and got a successful log in with session token printed, yay :lol: .
However when i come to login via betfairlightweight it still says Exception: Certificate folder not found in /certs/. Be gentle :D
LinusP
Posts: 1743
Joined: Mon Jul 02, 2012 10:45 pm
Contact:

Lightweight assumes you have a folder at the top of your c drive /certs, you can either create this folder and place the certs in there or provide the location of your certs to the client:

https://github.com/liampauling/betfairl ... ent.py#L46
Post Reply

Return to “Betfair Exchange API”