module Soccerama::Client::Teams
Public Instance Methods
matches_by_team_season(team_id, season_id, options: nil)
click to toggle source
# File lib/soccerama/client/teams.rb, line 13 def matches_by_team_season(team_id, season_id, options: nil) get("/teams/#{team_id}/season/#{season_id}", { include: options }) end
teams_by_id(team_id, options: nil)
click to toggle source
# File lib/soccerama/client/teams.rb, line 9 def teams_by_id(team_id, options: nil) get("/teams/#{team_id}", { include: options }) end
teams_by_season(season_id, options: nil)
click to toggle source
# File lib/soccerama/client/teams.rb, line 5 def teams_by_season(season_id, options: nil) get("/teams/season/#{season_id}", { include: options })['data'] end