class Football::Butler::ApiFootball::Predictions
Constants
- PATH
Public Class Methods
by_match(id:, filters:, result:)
click to toggle source
PREDICTIONS
fixture required integer The id of the fixture
predictions&fixture={id}
# File lib/football/butler/api_football/predictions.rb, line 19 def by_match(id:, filters:, result:) filters.merge!(fixture: id) Api.get(path: PATH, filters: filters, result: result) end