module Soccerama::Client::Player
Public Instance Methods
player_by_id(player_id, options: nil)
click to toggle source
# File lib/soccerama/client/player.rb, line 13 def player_by_id(player_id, options: nil) get("/players/#{player_id}", { include: options }) end
players_by_team(team_id, options: nil)
click to toggle source
# File lib/soccerama/client/player.rb, line 9 def players_by_team(team_id, options: nil) get("/players/team/#{team_id}", { include: options }) end
players_by_team_and_season(team_id, season_id, options: nil)
click to toggle source
# File lib/soccerama/client/player.rb, line 5 def players_by_team_and_season(team_id, season_id, options: nil) get("/players/team/#{team_id}/season/#{season_id}", { include: options }) end