Forums

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: 5 | 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.
Share |
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

New to Betfair?

You need to open an account before you can add content to the forum.

Opening an account only takes a few minutes.

register now