Thanks jfc. Previously I had not looked at TAB because I had read you had to pay for API access, however I have just registered so lets see what happens. In relation to their API I did see some example code as per below and it looks quite similar to BETFAIR and how I ask TATTS to Sell me a Bet
We will see in time how easy it is to use
The question I have is what API calls for when the two websites eventually merge. There can be only one set of URL endpoints ! OR will they support two different endpoints for a few years ?
I guess if I get access to TAB studio then I should ensure I can request betting data from TAB as well as the current TATTS site such that if they change my software will have minimal downtime.
THE TAB API CODE EXAMPLE
' Setup the Request
Dim request As HttpWebRequest = CType(WebRequest.Create("https://api.beta.tab.com.au/oauth/token
request.Method = "POST"
request.ContentType = "application/x-www-form-urlencoded"
request.ContentLength = byteArray.Length
' Write data
Dim postStream As Stream = request.GetRequestStream()
postStream.Write(byteArray, 0, byteArray.Length)
'Send Request & Get Response
Dim response As HttpWebResponse = request.GetResponse()
Using reader As StreamReader = New StreamReader(response.GetResponseStream())
' Get the Response Stream
Dim json As String = reader.ReadLine()
Dim token As String = j("access_token")