class Football::Butler::ApiFootball::Lineups

Constants

PATH

Public Class Methods

by_match(id:) click to toggle source
LINEUPS

fixture required integer The id of the fixture

team integer The id of the team

player integer The id of the player

type string The type

fixtures/lineups?fixture={id}

# File lib/football/butler/api_football/lineups.rb, line 31
def by_match(id:)
  filters = { fixture: id }
  Api.get(path: PATH, filters: filters, result: :response)
end