You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
I'm trying to obtain a marketcatalogue using ListMarketCatalogue and a marketfilter.
It works if I don't specify MarketBettingTypes in my marketfilter.
Including marketbettingtypes always results in an empty set being returned.
Looking at the betfair api definition I think there is an issue with marketfilter.
MarketFilter contains:
MarketBettingTypes []EMarketBettingTypes json:"marketBettingTypes,omitempty"
and EMarketBettingTypes is defined by:
type EMarketBettingTypes []EMarketBettingType
I think that is a slice of slices which is one to many slices, perhaps:
I'm trying to obtain a marketcatalogue using ListMarketCatalogue and a marketfilter.
It works if I don't specify MarketBettingTypes in my marketfilter.
Including marketbettingtypes always results in an empty set being returned.
Looking at the betfair api definition I think there is an issue with marketfilter.
MarketFilter contains:
MarketBettingTypes []EMarketBettingTypes
json:"marketBettingTypes,omitempty"
and EMarketBettingTypes is defined by:
type EMarketBettingTypes []EMarketBettingType
I think that is a slice of slices which is one to many slices, perhaps:
MarketBettingTypes []EMarketBettingType
json:"marketBettingTypes,omitempty"
.......would be closer to the betfair api:
marketBettingTypes | Set< MarketBettingType>
Please note I haven't tried this yet.
The text was updated successfully, but these errors were encountered: