View Full Version : API-NG - Anyone using this at betfair?
UselessBettor
4th May 2014, 10:25 AM
Has anyone written a bot for the API-NG version at betfair?
I'm looking for anyone I can communicate with by email or here to just help answer some questions on the new API.
Its got terrible documentation and a whole heap of new features (which will be good to use) that I need clarification on.
I know I need to upgrade my existing API6 bots so decided I would learn the new API-NG by writing a bot to try out Chrome Princes system for sports.
If you have any tips for this API please let me know before I get too far into the coding.
Chrome Prince
4th May 2014, 11:51 AM
Apparently you can code the API NG in many different languages.
There are example snippets of code, but it was way over my head, I'm more database construction than coding, but it did seem to be lacking a LOT of information.
I also wanted to get a list of filtered events in time order, only match odds markets and sort them in time order etc. As the navigation kills me.
Good luck with it, I hope someone else replies.
UselessBettor
4th May 2014, 12:19 PM
Apparently you can code the API NG in many different languages.
There are example snippets of code, but it was way over my head, I'm more database construction than coding, but it did seem to be lacking a LOT of information.
I also wanted to get a list of filtered events in time order, only match odds markets and sort them in time order etc. As the navigation kills me.
Good luck with it, I hope someone else replies.Yep. I have the sample code and have the demo working now. I now need to get the APING-login working. arghh. So frustrating.
I already do your above filtering in API 6 and it works well. APING looks like it has even better searching though so that will help for how I want to use it.
What would be great though is to be able to seasrch for markets between X and Y times with Z matched. You can do X and Y but not Z :(
Chrome Prince
4th May 2014, 01:21 PM
I'm pretty sure you can get a list in time order also.
Perhaps your bot can look at market percentages and x matched in order to actually put the lay part on. I know in Gruss you can build a triggered spreadsheet that can look at market percentage and x amount matched.
However, I went a different way.
I look at tick difference between back and lay sides.
If there's only one tick difference, for all selections, chances are a decent amount has been matched and market percentage is less than 102%.
Hope that helps.
Sticking purely to match odds markets in major events only, helps a great deal.
UselessBettor
4th May 2014, 04:59 PM
Sticking purely to match odds markets in major events only, helps a great deal.
The problem is with the free API you only get so many markets a minute which sucks but understandable. I monitor so many sports at the moment I am pushing the limits of the free API.
I need to be in a lot of the "smaller" markets as they offer such a substantial edge because all of you big hitters ignore them.
jazzy
9th May 2014, 12:07 PM
Chances are, your questions have already been asked here:
https://forum.bdp.betfair.com/forumdisplay.php?f=31
UselessBettor
9th May 2014, 02:35 PM
Yeah bee there. Very little activity and not many people have ventured into the new API.
jazzy
9th May 2014, 05:25 PM
You can lead a horse to water....
Rinconpaul
13th May 2014, 04:46 PM
One thing that some might overlook, with this new Betfair upgrade, is that most Bots commercially available need to be upgraded to interface. Naturally, that'll be like the Budget tonight, and come at a cost for the upgrade!
Just had an email from BF Bot Manager telling me to upgrade before November 1, when my existing bot will cease to work. :(
Don't know if they're telling porkies or not?
UselessBettor
13th May 2014, 06:57 PM
One thing that some might overlook, with this new Betfair upgrade, is that most Bots commercially available need to be upgraded to interface. Naturally, that'll be like the Budget tonight, and come at a cost for the upgrade!
Just had an email from BF Bot Manager telling me to upgrade before November 1, when my existing bot will cease to work. :(
Don't know if they're telling porkies or not?
Yep it will stop working on that day.
See https://developer.betfair.com/default/api-s-and-services/sports-api/sports-overview/
Specifically the lines:
API 6.0 – is the SOAP XML interface into the Betfair betting exchange. This version will be retired on the 1st November 2014
UselessBettor
13th May 2014, 07:59 PM
For those interested.
I have been able to get the demo code to run with the interactive login. Its painful using the interactive login.
I have also been able to get the non-interactive login demo to work. This was painful just because the instructions were not clear in how to modify the openssl.cfg. All you had to do was paste in the extra information.
So now that I have both of those done I still need to :
1. Modify the login in my library to use the non-interactive login code. Should be easy.
2. Modify every library function to use the new functions. This is major work and will probably take a few weeks.
But it at least works and I will feel a lot more secure when I have the API-NG working as then I can put on two step authentication. Considering the stories I have read from people out there getting their accounts cleaned out I want to do this sooner rather then later.
The Ocho
14th May 2014, 09:17 PM
One thing that some might overlook, with this new Betfair upgrade, is that most Bots commercially available need to be upgraded to interface. Naturally, that'll be like the Budget tonight, and come at a cost for the upgrade!
Just had an email from BF Bot Manager telling me to upgrade before November 1, when my existing bot will cease to work. :(
Don't know if they're telling porkies or not?
If you have BF Bot Manager v2 it is a free upgrade. I have no affiliation with them and not even one profitable botable system on their bot by the way.
"This update Bf Bot Manager V2.6.0 is FREE for all our customers with full V2 license key. Soccer bot, Multiple Strategies bot and Bf Notes are also updated to use new NG-API for free."
vBulletin v3.0.3, Copyright ©2000-2025, Jelsoft Enterprises Ltd.