module Api::Reference

Public Instance Methods

bookmakers(params = {}) click to toggle source

BOOKMAKERS Get list of all the bookmakers GET /GetBookmakers{?lang, indent} Parameters Name: Description lang: Response content language. Default value: English indent: Response content will be indented

# File lib/lsports/api/reference.rb, line 45
def bookmakers(params = {})
  get("GetBookmakers", params: params)
end
leagues(params = {}) click to toggle source

LEAGUES Get list of all the leagues GET /GetLeagues{?lang, indent} Parameters Name: Description lang: Response content language. Default value: English indent: Response content will be indented

# File lib/lsports/api/reference.rb, line 34
def leagues(params = {})
  get("GetLeagues", params: params)
end
locations(params = {}) click to toggle source

LOCATIONS Get list of all the locations GET /GetLocations{?lang, indent} Parameters Name: Description lang: Response content language. Default value: English indent: Response content will be indented

# File lib/lsports/api/reference.rb, line 23
def locations(params = {})
  get("GetLocations", params: params)
end
markets(params = {}) click to toggle source

MARKETS Get list of all the markets GET /GetMarkets{?lang, indent} Parameters Name: Description lang: Response content language. Default value: English indent: Response content will be indented

# File lib/lsports/api/reference.rb, line 56
def markets(params = {})
  get("GetMarkets", params: params)
end
sports(params = {}) click to toggle source

SPORTS Get list of all the sports GET /GetSports{?lang, indent} Parameters Name: Description lang: Response content language. Default value: English indent: Response content will be indented

# File lib/lsports/api/reference.rb, line 12
def sports(params = {})
  get("GetSports", params: params)
end