class Football::Butler::Apifootball::Predictions

Constants

PATH

Public Class Methods

by_match(id:, filters:, result:) click to toggle source
PREDICTIONS

from Start date (yyyy-mm-dd) to Stop date (yyyy-mm-dd) country_id Country ID - if set only leagues from specific country will be returned (Optional) league_id League ID - if set events from specific league will be returned (Optional) match_id Match ID - if set only details from specific match will be returned (Optional)

get_predictions&match_id={id}

# File lib/football/butler/apifootball/predictions.rb, line 20
def by_match(id:, filters:, result:)
  filters.merge!(match_id: id)
  Api.get(path: build_path(PATH), filters: filters, result: result)
end