Module: ApiFootballV3::Rest::Fixtures
- Included in:
- Api
- Defined in:
- lib/api_football_v3/rest/fixtures.rb
Instance Method Summary collapse
- #fixture_events(options = {}) ⇒ Object
- #fixture_lineups(options = {}) ⇒ Object
- #fixture_player_statistics(options = {}) ⇒ Object
- #fixture_statistics(options = {}) ⇒ Object
- #fixtures(options = {}) ⇒ Object
- #head_to_head(options = {}) ⇒ Object
- #live ⇒ Object
- #rounds(options = {}) ⇒ Object
Instance Method Details
#fixture_events(options = {}) ⇒ Object
24 25 26 |
# File 'lib/api_football_v3/rest/fixtures.rb', line 24 def fixture_events( = {}) get('/fixtures/events', ) end |
#fixture_lineups(options = {}) ⇒ Object
28 29 30 |
# File 'lib/api_football_v3/rest/fixtures.rb', line 28 def fixture_lineups( = {}) get('/fixtures/lineups', ) end |
#fixture_player_statistics(options = {}) ⇒ Object
32 33 34 |
# File 'lib/api_football_v3/rest/fixtures.rb', line 32 def fixture_player_statistics( = {}) get('/fixtures/players', ) end |
#fixture_statistics(options = {}) ⇒ Object
20 21 22 |
# File 'lib/api_football_v3/rest/fixtures.rb', line 20 def fixture_statistics( = {}) get('/fixtures/statistics', ) end |
#fixtures(options = {}) ⇒ Object
4 5 6 |
# File 'lib/api_football_v3/rest/fixtures.rb', line 4 def fixtures( = {}) get('/fixtures', ) end |
#head_to_head(options = {}) ⇒ Object
16 17 18 |
# File 'lib/api_football_v3/rest/fixtures.rb', line 16 def head_to_head( = {}) get('/fixtures/headtohead', ) end |
#live ⇒ Object
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( = {}) get('/fixtures/rounds', ) end |