football_api 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/football_api-0.0.1.gem +0 -0
- data/football_api-0.0.2.gem +0 -0
- data/football_api-0.0.3.gem +0 -0
- data/football_api.gemspec +36 -0
- data/lib/football_api/base_request.rb +75 -0
- data/lib/football_api/card.rb +19 -0
- data/lib/football_api/comment.rb +13 -0
- data/lib/football_api/commentary.rb +79 -0
- data/lib/football_api/competition.rb +54 -0
- data/lib/football_api/errors.rb +13 -0
- data/lib/football_api/event.rb +19 -0
- data/lib/football_api/fixture.rb +44 -0
- data/lib/football_api/goal.rb +17 -0
- data/lib/football_api/match.rb +59 -0
- data/lib/football_api/match_bench.rb +27 -0
- data/lib/football_api/match_info.rb +14 -0
- data/lib/football_api/match_stats.rb +29 -0
- data/lib/football_api/match_substitutions.rb +27 -0
- data/lib/football_api/match_summary.rb +39 -0
- data/lib/football_api/match_team.rb +22 -0
- data/lib/football_api/mixins/requestable.rb +19 -0
- data/lib/football_api/mixins/symbolizer.rb +59 -0
- data/lib/football_api/player.rb +12 -0
- data/lib/football_api/standing.rb +104 -0
- data/lib/football_api/version.rb +3 -0
- data/lib/football_api.rb +32 -0
- data/spec/commentary_spec.rb +112 -0
- data/spec/competition_spec.rb +27 -0
- data/spec/fixture_spec.rb +90 -0
- data/spec/helpers/json_helper.rb +41 -0
- data/spec/json/commentaries.json +1967 -0
- data/spec/json/competitions.json +23 -0
- data/spec/json/fixtures.json +4559 -0
- data/spec/json/matches.json +17 -0
- data/spec/json/standings.json +719 -0
- data/spec/match_spec.rb +25 -0
- data/spec/spec_helper.rb +115 -0
- data/spec/standing_spec.rb +37 -0
- metadata +346 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"no_matches_today": {
|
3
|
+
"APIVersion": 1,
|
4
|
+
"APIRequestsRemaining": 998,
|
5
|
+
"DeveloperAuthentication": "TRUE",
|
6
|
+
"Action": "today",
|
7
|
+
"Params": {
|
8
|
+
"Action": "today",
|
9
|
+
"comp_id": "1204"
|
10
|
+
},
|
11
|
+
"ComputationTime": 0.0061678886413574,
|
12
|
+
"IP": "79.168.234.158",
|
13
|
+
"ERROR": "no matches found today",
|
14
|
+
"ServerName": "Football-API",
|
15
|
+
"ServerAddress": "http://football-api.com/api"
|
16
|
+
}
|
17
|
+
}
|