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( = {}) get('/players', ) end |
#players_seasons ⇒ Object
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( = {}) get('/players/topscorers', ) end |