Module: ApiFootballV3::Rest::Players

Included in:
Api
Defined in:
lib/api_football_v3/rest/players.rb

Instance Method Summary collapse

Instance Method Details

#players(options = {}) ⇒ Object



4
5
6
# File 'lib/api_football_v3/rest/players.rb', line 4

def players(options = {})
  get('/players', options)
end

#players_seasonsObject



12
13
14
# File 'lib/api_football_v3/rest/players.rb', line 12

def players_seasons
  get('/players/seasons')
end

#top_scorers(options = {}) ⇒ Object



8
9
10
# File 'lib/api_football_v3/rest/players.rb', line 8

def top_scorers(options = {})
  get('/players/topscorers', options)
end