Python API to CSV
Budget: $30 ā $250 AUD
I'm looking for a small Python based program to grab live race betting data from an online API and convert it to a CSV file at regular intervals (15-30-60-120 seconds). I've attached a layout of what I imagine this to look like.
Iād imagine that it would function as below, but also open to suggestions on how to make it work better too.
With a button labelled "Update Meetings", I'm looking for the app to find the "Meeting Code = Venuemnemonic" from "https://api.beta.tab.com.au/v1/tab-info-service/racing/dates/today/meetings?jurisdiction=VIC" or "https://api.beta.tab.com.au/v1/tab-info-service/racing/dates/tomorrow/meetings?jurisdiction=VIC" and ensure that the race meeting is "Racetype = G" and "Location = VIC". The app can then find the (somewhere between 3-4) Greyhound racing meetings for Victoria on a particular day.
With a button labelled "Update Data", I'm looking for the app to grab the data from its relevant API page "https://api.beta.tab.com.au/v1/tab-info-service/racing/dates/2022-05-09/meetings/G/WBO/races/1?jurisdiction=VIC" and generate a CSV file at the same location of the actual app. This needs to be automated to get this data as it updates online every 15-30-60-120 seconds. "races/1" needs to be selectable between 1-12 (for the 12 total races).
Where the date (YYYY-MM-DD) needs to be selectable between "Today" and "Tomorrow".
The status bar at the bottom should go green when "Update Data" is activated (to show that the data is about to be updated) and should have a status bar move from left to right to show how long until the next selected update is due. This should be red when not activated.
The white dots in the demo graphic are selectable check boxes to select the relevant Race Meeting and Race Number. These could also be buttons with the text on them.
Would like access to the source code and being able to refine the program further if it turns out to be successful.
Iād imagine that it would function as below, but also open to suggestions on how to make it work better too.
With a button labelled "Update Meetings", I'm looking for the app to find the "Meeting Code = Venuemnemonic" from "https://api.beta.tab.com.au/v1/tab-info-service/racing/dates/today/meetings?jurisdiction=VIC" or "https://api.beta.tab.com.au/v1/tab-info-service/racing/dates/tomorrow/meetings?jurisdiction=VIC" and ensure that the race meeting is "Racetype = G" and "Location = VIC". The app can then find the (somewhere between 3-4) Greyhound racing meetings for Victoria on a particular day.
With a button labelled "Update Data", I'm looking for the app to grab the data from its relevant API page "https://api.beta.tab.com.au/v1/tab-info-service/racing/dates/2022-05-09/meetings/G/WBO/races/1?jurisdiction=VIC" and generate a CSV file at the same location of the actual app. This needs to be automated to get this data as it updates online every 15-30-60-120 seconds. "races/1" needs to be selectable between 1-12 (for the 12 total races).
Where the date (YYYY-MM-DD) needs to be selectable between "Today" and "Tomorrow".
The status bar at the bottom should go green when "Update Data" is activated (to show that the data is about to be updated) and should have a status bar move from left to right to show how long until the next selected update is due. This should be red when not activated.
The white dots in the demo graphic are selectable check boxes to select the relevant Race Meeting and Race Number. These could also be buttons with the text on them.
Would like access to the source code and being able to refine the program further if it turns out to be successful.