Remove this ad
avatar

birchy

Betfair Elite

Posts: 593 Member Since: May 11, 2008

Lead

March 29, 2013 18:23:12

Tags : :

[Betdaq API]
I've decided to throw my tried and tested bots onto Betdaq to see how they perform. I've applied for API access and am awaiting a response. Meanwhile, I'm just browsing around for some code samples, preferably in Python.

As a complete newby to the Betdaq API, all hints, tips, advice, suggestions, gotchas, etc are welcome. If I get a decent library put together, I'll post it in the source code section so others can benefit.

www.bespokebots.com

"This time next year Rodney, we'll be millionaires!"

Quote    Reply   
Remove this ad
Remove this ad
avatar

birchy

Betfair Elite

Posts: 593 Member Since:May 11, 2008

#1 [url]

March 30, 2013 16:31:40

[Betdaq Code 1000: InvalidUsername]
Well I very nearly fell at the first hurdle when my first Betdaq API request was complaining that I was using an invalid user name. Turns out that accounts are linked to 2 possible betdaq sites: either .com OR .co.uk. Using the betdaq API created by Toothy as an example, I was using the .co.uk endpoints, HOWEVER my account is linked to the .com website. So it was simply a case of changing:

https://api.betdaq.co.uk/v2.0/ReadOnlyService.asmx
https://api.betdaq.co.uk/v2.0/Secure/SecureService.asmx

TO

https://api.betdaq.com/v2.0/ReadOnlyService.asmx
https://api.betdaq.com/v2.0/Secure/SecureService.asmx

In the http request url. Easy when you know how!!

www.bespokebots.com

"This time next year Rodney, we'll be millionaires!"

Quote    Reply   
Add Reply

Quick Reply

bbcode help