module Api::Prematch
Public Instance Methods
EVENTS Get list of all the events GET /GetEvents{?lang, timestamp, fromdate, todate, indent, sports, locations, leagues, markets} Parameters Name: Description lang: Response content language. Default value: English timestamp: Response will contain content that was updated after given timestamp fromdate: Response will contain content that was updated after given timestamp todate: Response will contain events which start before given date indent: Response content will be indented sports: Comma separated list of sports locations: Comma separated list of locations leagues: Comma separated list of leagues markets: Comma separated list of markets
# File lib/lsports/api/prematch.rb, line 55 def events(params = {}) get("GetEvents", params: params) end
FIXTURE MARKETS Get list of all the fixture markets GET /GetFixtureMarkets{?lang, timestamp, fromdate, todate, indent, sports, locations, leagues, markets} Parameters Name: Description lang: Response content language. Default value: English timestamp: Response will contain content that was updated after given timestamp fromdate: Response will contain content that was updated after given timestamp todate: Response will contain events which start before given date indent: Response content will be indented sports: Comma separated list of sports locations: Comma separated list of locations leagues: Comma separated list of leagues markets: Comma separated list of markets
# File lib/lsports/api/prematch.rb, line 37 def fixture_markets(params = {}) get("GetFixtureMarkets", params: params) end
FIXTURES Get list of all the fixtures GET /GetFixtures{?lang, timestamp, fromdate, todate, indent, sports, locations, leagues, fixtures} Parameters Name: Description lang: Response content language. Default value: English timestamp: Response will contain content that was updated after given timestamp fromdate: Response will contain content that was updated after given timestamp todate: Response will contain events which start before given date indent: Response content will be indented sports: Comma separated list of sports locations: Comma separated list of locations leagues: Comma separated list of leagues fixtures: Comma separated list of fixtures
# File lib/lsports/api/prematch.rb, line 19 def fixtures(params = {}) get("GetFixtures", params: params) end