Hello
Not sure if this already common knowledge but I stumbled across an interesting discovery today. The Betfair website utilises a JSON feed for live scores. This could be very useful for App writers to display a live score in football or Tennis matches.
This feature is sadly lacking from the API so I am wondering if I could also use it ?
For example, here is a snippet for one game I just captured, all sorts of useful information.
I would like to know please what is Betfair's policy regarding App. writers using this JSON score feed ?
They may look favourably on it as its just a few hundred bytes to download this zipped JSON string, compared to a 700k download of the full page.
Is anyone else using this live score feed ?
Regards Geoff
Not sure if this already common knowledge but I stumbled across an interesting discovery today. The Betfair website utilises a JSON feed for live scores. This could be very useful for App writers to display a live score in football or Tennis matches.
This feature is sadly lacking from the API so I am wondering if I could also use it ?
For example, here is a snippet for one game I just captured, all sorts of useful information.
Code:
[{
"eventId": 27610980,
"eventTypeId": 1,
"marketId": "1.121991682",
"marketName": "Match Odds",
"relevance": 0,
"eventName": "Mordovia Saransk v Terek Grozni",
"competitionName": "Premier Division",
"competitionId": "101",
"numberOfRunners": 3,
"countryCode": "RU",
"startTime": "2015-12-03T16:00:00.000Z",
"runners": {
"runner1Name": "Mordovia Saransk",
"runner2Name": "Terek Grozni",
"drawName": "The Draw",
"runner1SelectionId": 4045119,
"runner2SelectionId": 939625,
"drawSelectionId": 58805
},
"homeName": "Mordovia Saransk",
"awayName": "Terek Grozni",
"broadcasts": {
"tv": [],
"radio": {
"url": "http://radio.betfair.com"
},
"bfLiveVideo": {
},
"isLiveVideoAvailable": false,
"isDataVisualizationAvailable": true
},
"state": {
"eventTypeId": 1,
"eventId": 27610980,
"score": {
"home": {
"name": "Mordovia Saransk",
"score": "0",
"halfTimeScore": "0",
"fullTimeScore": "",
"penaltiesScore": "",
"penaltiesSequence": [],
"games": "",
"sets": "",
"numberOfYellowCards": 1,
"numberOfRedCards": 0,
"numberOfCards": 1,
"numberOfCorners": 2,
"numberOfCornersFirstHalf": 2,
"numberOfCornersSecondHalf": 0,
"bookingPoints": 10
},
"away": {
"name": "Terek Grozni",
"score": "0",
"halfTimeScore": "0",
"fullTimeScore": "",
"penaltiesScore": "",
"penaltiesSequence": [],
"games": "",
"sets": "",
"numberOfYellowCards": 0,
"numberOfRedCards": 0,
"numberOfCards": 0,
"numberOfCorners": 0,
"numberOfCornersFirstHalf": 0,
"numberOfCornersSecondHalf": 0,
"bookingPoints": 0
},
"numberOfYellowCards": 1,
"numberOfRedCards": 0,
"numberOfCards": 1,
"numberOfCorners": 2,
"numberOfCornersFirstHalf": 2,
"numberOfCornersSecondHalf": 0,
"bookingPoints": 10
},
"timeElapsed": 46,
"elapsedRegularTime": 46,
"timeElapsedSeconds": 5,
"fullTimeElapsed": {
"hour": 0,
"min": 0,
"sec": 0
},
"status": "SecondHalfKickOff",
"matchStatus": "SecondHalfKickOff"
},
"matchInfo": {
},
"inPlayBettingStatus": "InPlay"
},
I would like to know please what is Betfair's policy regarding App. writers using this JSON score feed ?
They may look favourably on it as its just a few hundred bytes to download this zipped JSON string, compared to a 700k download of the full page.
Is anyone else using this live score feed ?
Regards Geoff


Comment