Module: Api::Reference

Included in:
LSports::Client
Defined in:
lib/lsports/api/reference.rb

Instance Method Summary collapse

Instance Method Details

#bookmakers(params = {}) ⇒ Object

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



45
46
47
# File 'lib/lsports/api/reference.rb', line 45

def bookmakers(params = {})
  get("GetBookmakers", params: params)
end

#leagues(params = {}) ⇒ Object

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



34
35
36
# File 'lib/lsports/api/reference.rb', line 34

def leagues(params = {})
  get("GetLeagues", params: params)
end

#locations(params = {}) ⇒ Object

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



23
24
25
# File 'lib/lsports/api/reference.rb', line 23

def locations(params = {})
  get("GetLocations", params: params)
end

#markets(params = {}) ⇒ Object

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



56
57
58
# File 'lib/lsports/api/reference.rb', line 56

def markets(params = {})
  get("GetMarkets", params: params)
end

#sports(params = {}) ⇒ Object

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



12
13
14
# File 'lib/lsports/api/reference.rb', line 12

def sports(params = {})
  get("GetSports", params: params)
end