class SoccersApi::Betting

Constants

BETTING

Public Class Methods

in_play_odds(match_id) click to toggle source
# File lib/soccers_api/betting.rb, line 25
def in_play_odds(match_id)
  SoccersApi.api_url(
    api_for: LEADER,
    type: "match_oddsinplay",
    id_type: 'match_id',
    id: match_id
  )
end
match_odds_by_bookmaker(match_id) click to toggle source
# File lib/soccers_api/betting.rb, line 16
def match_odds_by_bookmaker(match_id)
  SoccersApi.api_url(
    api_for: LEADER,
    type: "match_odds",
    id_type: 'match_id',
    id: match_id
  )
end
pre_match_odds(match_id) click to toggle source
# File lib/soccers_api/betting.rb, line 7
def pre_match_odds(match_id)
  SoccersApi.api_url(
    api_for: LEADER,
    type: "match_odds",
    id_type: 'match_id',
    id: match_id
  )
end