Is there some sort of ID specific to a given sports team on the exchange? Or at least the closest thing to a team ID that is available through the api? For instance in a soccer game there are two teams, are there corresponding ids for the home and away teams I can retrieve through market or event id? I was under the impression selection ID might be the field I am interested in but am uncertain of this after some testing. Any help is greatly appreciated.
Team IDs
Collapse
X
-
Hiya
As far as I understand, Betfair dont really use the concept of a team Id from the point of view of using that id to get data. If you look at say a fooball Match odds market, you have row 1 = home win, row 2 = away win, row 3 = draw. Each of those rows has a corresponding SelectionId
Example
Bayern Munich Home Win = 55774350
Mgladbach Away Win = 84649
Draw = 58805
Your code should make no assumptions about this however, dont say, ah its bayern munich so I know its selectionId is going to be 55774350.
Just from observation Betfair do tend to be consistent on football team selectionIds, but like i say that data isnt published and they make no promise it will remain consistent.
Regards Geoff


Comment