Forums

We want to share an important update with our Betfair Community users.

Over the coming months, the Betfair Community platform will be winding down. The final active day for the platform will be December 21st. From December 22nd, users will no longer be able to access the platform.

Your discussions, insights, engagement, and, most importantly, feedback have helped shape the platform and guided innovation. Your feedback continues to be important to us, and we will continue to listen via our dedicated feedback channels, as well as through product testing and innovations.

To share your feedback and experience, visit: https://support.betfair.com/app/home

Developers

There is currently 1 person viewing this thread.
NickyG
27 Dec 17 14:39
Joined:
Date Joined: 26 Dec 08
| Topic/replies: 6 | Blogger: NickyG's blog
Hi, I'm using the sample code (VB.NET) to try and load markets from GB and Ireland, but I can only do one at a time, I'm sure I'm making a basic error but not sure what it is:

This works:
      marketFilter.MarketCountries = New HashSet(Of String)() From {"GB"}

But if try and and Irish races it still only loads the GB races:
      marketFilter.MarketCountries = New HashSet(Of String)() From {"GB", "IRE"}

Any help appreciated.

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
sort by:
Show
per page
Replies: 2
By:
Grantay.
When: 28 Dec 17 14:16
Add each country you want to include like this:

marketFilter.MarketCountries = New HashSet(Of String)

marketFilter.MarketCountries.Add("GB")
marketFilter.MarketCountries.Add("IRE")
By:
jabe
When: 30 Dec 17 22:06
The code for Ireland is "IE".
sort by:
Show
per page

Post your reply

Text Format: Table: Smilies:
Forum does not support HTML
Insert Photo
Cancel
‹ back to topics
www.betfair.com