|
|
To advertise on these forums, e-mail us. |
|
|
Thread Tools | Search this Thread | Display Modes |
#31
|
|||
|
|||
TAB api
Have TAB changed their conditions for accessing their api? On their webpage they have an application form in order to connect to TAB. I applied a few years ago but got refused with no explanation.
Looking again, under How it works the api seems to be available. So what is happening? Any clarification would be great. I am still using the Tatts api but TAB have turned off the account features and so I cannot place bets automatically. Ta, Martin |
#32
|
|||
|
|||
I haven't looked at placing bets but i know i have access to all prices and form, this is just my experiment in learning to program a functional replacement for excel as i still use gruss to place my bets.
For the moment i am providing all my python code so others can learn.
__________________
One Drive "If the corporates are treating you poorly , just go elsewhere." "If they need you , they will soon find out." "If you need them , you will soon find out." --moeee _______________________________________________ |
#33
|
|||
|
|||
Re TAB
Thanks for that. I will look at moving across to TAB's api as soon as I can. Ta, Martin
|
#34
|
|||
|
|||
The TAB api is accessible to pull down race data and odds and so on, but to place bets - and any access to the accounting api - you need to be approved by TAB - you will be given a client token that is used to create access tokens each time you place a bet.
When it started you needed to be Silver or (Gold?) status to get betting access to the api - that meant turnover of about $25k per year. Not sure what the situation is now |
#35
|
|||
|
|||
Thanks for that. I don't want to have to throw 25k down the loo on bets I am not sure of. And I do not want to sit at my computer all day, every day to use my software and place bets manually. They have made it too hard if that is still the case. Ta, Martin
|
#36
|
|||
|
|||
I am slowly getting python to replace what i used to do in excel, so far i can pull race data and results info, i can also get past form but only what is available on race day but still useful, i have also implemented one of my black book systems to make selections and print out those selections to txt doc.
i am having one issue when getting results if they are not available it throws a KeyError I have looked at a few options for this error but none work, all i need is if no results just to skip this section, the program still runs regardless but better to not have errors i guess. Code:
__________________
One Drive "If the corporates are treating you poorly , just go elsewhere." "If they need you , they will soon find out." "If you need them , you will soon find out." --moeee _______________________________________________ |
#37
|
|||
|
|||
Shaun: try colour like this?
a_res = **** "1st":'darkgreen', "2nd":'gold', "3rd":'blue', "4th":'purple' **** colour = 'black' if res in a_res: colour = a_res[res] key error happens if your key is not in the dictionary. |
#38
|
|||
|
|||
Time for an update.
I have spent many hours practicing my python skills, my work is pretty average but functional. my latest creation that can be found in my link is "BSP - 16-05-21" there is an exe plus a txt with code. As with my other programs this will allow you to access the TAB website and gather race info, it collects race results if known. I have included 5 systems, these aren't the holy grail but more ideas on what is possibly with python and some imagination. The program prints out the system bets in a format that can be imported to excel, i also included a timezone list so races are listed in your timezone. There is an info tab that explains how to run things. have fun and any thoughts appreciated.
__________________
One Drive "If the corporates are treating you poorly , just go elsewhere." "If they need you , they will soon find out." "If you need them , you will soon find out." --moeee _______________________________________________ |
Thread Tools | Search this Thread |
Display Modes | |
|
|