ba.getSports / ba.loadQuickPickList

Please post any questions regarding the program here.

Moderator: 2020vision

ba.getSports / ba.loadQuickPickList

Postby alrodopial » Sun May 25, 2025 6:15 pm

BA is launched at eg 22.00pm and loads eg 6 AUS markets/horse racing
At 02.00am the available markets in bf are eg 9 for aus/horse racing (3 raced are added)
If I call the ba.getSports at 02.00am will I get 9 races or the initial 6?
At 02.00am what races will the ba.loadQuickPickList load? 9 or 6?
where these 6 or 9 races will be loaded? in 1st tab's qpl? in all tab's qpl?
alrodopial
 
Posts: 1386
Joined: Wed Dec 06, 2006 9:59 pm

Re: ba.getSports / ba.loadQuickPickList

Postby GaryRussell » Mon May 26, 2025 5:53 am

BA is launched at eg 22.00pm and loads eg 6 AUS markets/horse racing
At 02.00am the available markets in bf are eg 9 for aus/horse racing (3 raced are added)
If I call the ba.getSports at 02.00am will I get 9 races or the initial 6?

I assume you mean getEvents as getSports only retrieves the list of available sports. You will get the initial 6. You should precede this call with ba.refreshMarkets to update the market tree.

At 02.00am what races will the ba.loadQuickPickList load? 9 or 6?

This will automatically refresh the market tree before adding the markets so you will get 9 markets.

where these 6 or 9 races will be loaded? in 1st tab's qpl? in all tab's qpl?

They are loaded in the active tab. ie. whatever value is in ba.tabIndex
User avatar
GaryRussell
Site Admin
 
Posts: 9893
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: ba.getSports / ba.loadQuickPickList

Postby alrodopial » Mon May 26, 2025 6:00 am

Thanks
alrodopial
 
Posts: 1386
Joined: Wed Dec 06, 2006 9:59 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 29 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.