class Football::Butler::ApiFootball::Standings

Constants

PATH

Public Class Methods

by_competition_and_year(id:, year:, result:, filters:) click to toggle source
STANDINGS

league integer The id of the league

season required integer 4 characters YYYY The season of the league

team integer The id of the team

/standings?league={id}&season={year}

# File lib/football/butler/api_football/standings.rb, line 27
def by_competition_and_year(id:, year:, result:, filters:)
  filters.merge!({ league: id, season: year })
  Api.get(path: PATH, filters: filters, result: result)
end