class Football::Butler::Apifootball::Statistics

Constants

PATH

Public Class Methods

by_match(id:, result:) click to toggle source
STATISTICS

action=get_statistics&match_id={id}

# File lib/football/butler/apifootball/statistics.rb, line 14
def by_match(id:, result:)
  filters = { match_id: id }
  Api.get(path: build_path(PATH), filters: filters, result: result)
end