Module: Api::Prematch
- Included in:
- LSports::Client
- Defined in:
- lib/lsports/api/prematch.rb
Instance Method Summary collapse
-
#events(params = {}) ⇒ Object
EVENTS Get list of all the events GET /GetEventstimestamp, fromdate, todate, indent, sports, locations, leagues, markets Parameters Name: Description lang: Response content language.
-
#fixture_markets(params = {}) ⇒ Object
FIXTURE MARKETS Get list of all the fixture markets GET /GetFixtureMarketstimestamp, fromdate, todate, indent, sports, locations, leagues, markets Parameters Name: Description lang: Response content language.
-
#fixtures(params = {}) ⇒ Object
FIXTURES Get list of all the fixtures GET /GetFixturestimestamp, fromdate, todate, indent, sports, locations, leagues, fixtures Parameters Name: Description lang: Response content language.
Instance Method Details
#events(params = {}) ⇒ Object
EVENTS Get list of all the events GET /GetEventstimestamp, 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
55 56 57 |
# File 'lib/lsports/api/prematch.rb', line 55 def events(params = {}) get("GetEvents", params: params) end |
#fixture_markets(params = {}) ⇒ Object
FIXTURE MARKETS Get list of all the fixture markets GET /GetFixtureMarketstimestamp, 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
37 38 39 |
# File 'lib/lsports/api/prematch.rb', line 37 def fixture_markets(params = {}) get("GetFixtureMarkets", params: params) end |
#fixtures(params = {}) ⇒ Object
FIXTURES Get list of all the fixtures GET /GetFixturestimestamp, 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
19 20 21 |
# File 'lib/lsports/api/prematch.rb', line 19 def fixtures(params = {}) get("GetFixtures", params: params) end |