Article

Find selection Id by Jocket name

From bdp.betfair forum:

I am trying to find the selection id of a particular Jokey by the name. I am trying to use the textquery to find the selection / jockey to bet when calling the listMarketCatalogue method. But it works only with the event not with the Jockey name. Any idea how to do it?

Bfexplorer Solution:

When market is open in bfexplorer selectin metadata are populated as well, and in metadata we can find jockey name.

Here is my script that checks metadata for all open markets and gather jockey names and races on which is jockey riding.

Jockeys.fsx