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

Welcome to Live View – Take the tour to learn more
Start Tour
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.
Pause • Switch to Standard View API NG Sample Code Help -...
Show More
Loading...
Report Grantay. • December 28, 2017 2:16 PM GMT
Add each country you want to include like this:

marketFilter.MarketCountries = New HashSet(Of String)

marketFilter.MarketCountries.Add("GB")
marketFilter.MarketCountries.Add("IRE")
Report jabe • December 30, 2017 10:06 PM GMT
The code for Ireland is "IE".
Post Your Reply
<CTRL+Enter> to submit
Please login to post a reply.

Wonder

Instance ID: 13539
www.betfair.com