Module: ApiFootballV3::Rest::Fixtures

Included in:
Api
Defined in:
lib/api_football_v3/rest/fixtures.rb

Instance Method Summary collapse

Instance Method Details

#fixture_events(options = {}) ⇒ Object



24
25
26
# File 'lib/api_football_v3/rest/fixtures.rb', line 24

def fixture_events(options = {})
  get('/fixtures/events', options)
end

#fixture_lineups(options = {}) ⇒ Object



28
29
30
# File 'lib/api_football_v3/rest/fixtures.rb', line 28

def fixture_lineups(options = {})
  get('/fixtures/lineups', options)
end

#fixture_player_statistics(options = {}) ⇒ Object



32
33
34
# File 'lib/api_football_v3/rest/fixtures.rb', line 32

def fixture_player_statistics(options = {})
  get('/fixtures/players', options)
end

#fixture_statistics(options = {}) ⇒ Object



20
21
22
# File 'lib/api_football_v3/rest/fixtures.rb', line 20

def fixture_statistics(options = {})
  get('/fixtures/statistics', options)
end

#fixtures(options = {}) ⇒ Object



4
5
6
# File 'lib/api_football_v3/rest/fixtures.rb', line 4

def fixtures(options = {})
  get('/fixtures', options)
end

#head_to_head(options = {}) ⇒ Object



16
17
18
# File 'lib/api_football_v3/rest/fixtures.rb', line 16

def head_to_head(options = {})
  get('/fixtures/headtohead', options)
end

#liveObject



8
9
10
# File 'lib/api_football_v3/rest/fixtures.rb', line 8

def live
  get('/fixtures', { live: 'all' })
end

#rounds(options = {}) ⇒ Object



12
13
14
# File 'lib/api_football_v3/rest/fixtures.rb', line 12

def rounds(options = {})
  get('/fixtures/rounds', options)
end