Smarkets / Betfair linking

Post Reply
armadillo
Posts: 21
Joined: Sat Nov 16, 2013 10:04 pm

Euler wrote:
Thu Jun 22, 2017 8:35 pm
Would have thought the only way is to create a master list. I don't use smarkets so not familiar with how stable their names are but Betfair are very consistent.
Here's an example of Betfair's consistency:

https://www.betfair.com/exchange/plus/f ... .132488326 - Bayern Munich v Bayer Leverkusen
https://www.betfair.com/exchange/plus/f ... .133297336 - Leverkusen v Hoffenheim

Same team, two different IDs. This makes it difficult to link up the first game because another source has a single Leverkusen who of course aren't playing B Munich according to Betfair!

Also, there's a "Leicester" and "Leicester City" both in the EPL, anyone know when the Leicester derby is?

https://www.betfair.com/exchange/footba ... d=28271453
https://www.betfair.com/exchange/footba ... d=28345059
Bluesky
Posts: 420
Joined: Mon Sep 19, 2016 9:26 pm

armadillo wrote:
Thu Aug 17, 2017 11:43 pm
Also, there's a "Leicester" and "Leicester City" both in the EPL, anyone know when the Leicester derby is?
September the 31st I think :lol:
User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

following on from this question, which ironically, i supplied an answer for...

previously, i've been using supplied Betfair football team names and where exceptions were found in matching names (with another 3rd party API) i would add the entries to a dictionary xref. However, I am now faced with a task that is of a slightly different order. I have to locate football fixtures based on team names supplied by pinnacle and xref them against their betfair names. going this way round seems like it should pose no issue. however, many, many team names are different and i'm going to create a json structure to match team names that vary (and skip where they match).

Does anyone know of an api call on betfair (api-ng) to bring back a list of team names either as a single hit or otherwise by country code??

I did see SB mention contacting BDP and i have also explored this avenue (am awaiting a response). But if someone in the interim has such a list (even if in excel), this would be most welcome..
LinusP
Posts: 1871
Joined: Mon Jul 02, 2012 10:45 pm

jimibt wrote:
Tue Dec 18, 2018 8:39 am
following on from this question, which ironically, i supplied an answer for...

previously, i've been using supplied Betfair football team names and where exceptions were found in matching names (with another 3rd party API) i would add the entries to a dictionary xref. However, I am now faced with a task that is of a slightly different order. I have to locate football fixtures based on team names supplied by pinnacle and xref them against their betfair names. going this way round seems like it should pose no issue. however, many, many team names are different and i'm going to create a json structure to match team names that vary (and skip where they match).

Does anyone know of an api call on betfair (api-ng) to bring back a list of team names either as a single hit or otherwise by country code??

I did see SB mention contacting BDP and i have also explored this avenue (am awaiting a response). But if someone in the interim has such a list (even if in excel), this would be most welcome..
Morning, there is a guy on my slack group called seaders who would be able to answer this question, feel free to join as I am sure he would be more than happy to respond.

https://betfairlightweight.herokuapp.com/

Sorry to divert but he isn’t a member of this forum.
User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

LinusP wrote:
Tue Dec 18, 2018 10:53 am
jimibt wrote:
Tue Dec 18, 2018 8:39 am
following on from this question, which ironically, i supplied an answer for...

previously, i've been using supplied Betfair football team names and where exceptions were found in matching names (with another 3rd party API) i would add the entries to a dictionary xref. However, I am now faced with a task that is of a slightly different order. I have to locate football fixtures based on team names supplied by pinnacle and xref them against their betfair names. going this way round seems like it should pose no issue. however, many, many team names are different and i'm going to create a json structure to match team names that vary (and skip where they match).

Does anyone know of an api call on betfair (api-ng) to bring back a list of team names either as a single hit or otherwise by country code??

I did see SB mention contacting BDP and i have also explored this avenue (am awaiting a response). But if someone in the interim has such a list (even if in excel), this would be most welcome..
Morning, there is a guy on my slack group called seaders who would be able to answer this question, feel free to join as I am sure he would be more than happy to respond.

https://betfairlightweight.herokuapp.com/

Sorry to divert but he isn’t a member of this forum.
thanks Liam -i'll join up today and see where it takes us. thanks for the info...

[edit] - done, joined and dm'ing with seaders right now - tnx!
User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

Liam -your guy was very helpful (and patient!!), turns out, it's just a simple call to listMarketCatalogue, limiting it to soccer (1) and the MARKET_TYPE to WINNER. that will roll in every soccer market across the globe by bringing in the league market -from that, i can cache the team names.

perfect...
LinusP
Posts: 1871
Joined: Mon Jul 02, 2012 10:45 pm

jimibt wrote:
Tue Dec 18, 2018 11:38 am
Liam -your guy was very helpful (and patient!!), turns out, it's just a simple call to listMarketCatalogue, limiting it to soccer (1) and the MARKET_TYPE to WINNER. that will roll in every soccer market across the globe by bringing in the league market -from that, i can cache the team names.

perfect...
Nice one, yeah he specialises in linking markets and is very knowledgable!
User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

LinusP wrote:
Tue Dec 18, 2018 11:44 am
jimibt wrote:
Tue Dec 18, 2018 11:38 am
Liam -your guy was very helpful (and patient!!), turns out, it's just a simple call to listMarketCatalogue, limiting it to soccer (1) and the MARKET_TYPE to WINNER. that will roll in every soccer market across the globe by bringing in the league market -from that, i can cache the team names.

perfect...
Nice one, yeah he specialises in linking markets and is very knowledgable!
yes, was one of those doh moments of just stopping and thinking a bit ;)
pythonic
Posts: 65
Joined: Sun Jul 08, 2018 10:20 pm

I have found that usually the betfair team names are abbreviations of the pinny team names, e.g. Leicester vs Leicester City or Man City vs Manchester City.
If you also consider the kick off times and possibly the match odds then you will quickly cover all the big teams without too much manual work.
User avatar
jimibt
Posts: 3641
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

pythonic wrote:
Tue Dec 18, 2018 9:07 pm
I have found that usually the betfair team names are abbreviations of the pinny team names, e.g. Leicester vs Leicester City or Man City vs Manchester City.
If you also consider the kick off times and possibly the match odds then you will quickly cover all the big teams without too much manual work.
cheers - once i see the two entities side by side, i'll probably have a better idea of the matching tactics (programaticaly) vs the manual slog...
Post Reply

Return to “Alternative betting exchanges, Smarkets, Matchbook etc.”