def list_market_catalogue(self, filter=None, max_results=1000, market_projection=None, locale=None, sort=None): """ :param MarketFilter filter: :param int max_results: :param list market_projection: :param MarketSort sort: :param str locale: """ filter = filter or models.MarketFilter() return self.make_api_request( 'Sports', 'listMarketCatalogue', { 'filter': filter, 'maxResults': max_results, 'marketProjection': market_projection, 'locale': locale }, model=models.MarketCatalogue, )
def list_venues(self, filter=None, locale=None): """ :param MarketFilter filter: :param str locale: """ filter = filter or models.MarketFilter() return self.make_api_request( 'Sports', 'listVenues', utils.get_kwargs(locals()), model=models.VenueResult, )
def list_time_ranges(self, granularity, filter=None): """ :param TimeGranularity granularity: :param MarketFilter filter: """ filter = filter or models.MarketFilter() return self.make_api_request( 'Sports', 'listTimeRanges', utils.get_kwargs(locals()), model=models.TimeRangeResult, )
def list_venues(self, filter=None, locale=None): """ :param MarketFilter filter: :param str locale: """ filter = filter or models.MarketFilter() return self.make_api_request( 'Sports', 'listVenues', {'filter': filter, 'locale': locale}, model=models.VenueResult, )
def list_time_ranges(self, granularity, filter=None): """ :param TimeGranularity granularity: :param MarketFilter filter: """ filter = filter or models.MarketFilter() return self.make_api_request( 'Sports', 'listTimeRanges', {'granularity': granularity, 'filter': filter}, model=models.TimeRangeResult, )
def list_market_catalogue( self, filter=None, max_results=100, market_projection=None, locale=None, sort=None): """ :param MarketFilter filter: :param int max_results: :param list market_projection: :param MarketSort sort: :param str locale: """ filter = filter or models.MarketFilter() return self.make_api_request( 'Sports', 'listMarketCatalogue', utils.get_kwargs(locals()), model=models.MarketCatalogue, )