sports_data_api 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +16 -6
- data/CHANGELOG.md +4 -0
- data/lib/sports_data_api/nhl/player.rb +14 -2
- data/lib/sports_data_api/version.rb +1 -1
- data/spec/cassettes/sports_data_api_nhl.yml +19483 -18904
- data/spec/cassettes/sports_data_api_nhl_broadcast.yml +8 -47
- data/spec/cassettes/sports_data_api_nhl_game.yml +9505 -9173
- data/spec/cassettes/sports_data_api_nhl_games.yml +9 -48
- data/spec/cassettes/sports_data_api_nhl_league_hierarchy.yml +144 -493
- data/spec/cassettes/sports_data_api_nhl_player.yml +460 -446
- data/spec/cassettes/sports_data_api_nhl_season.yml +8 -47
- data/spec/cassettes/sports_data_api_nhl_team.yml +604 -670
- data/spec/cassettes/sports_data_api_nhl_venue.yml +8 -49
- data/spec/lib/sports_data_api/nhl/games_spec.rb +1 -1
- data/spec/lib/sports_data_api/nhl/player_spec.rb +154 -81
- data/spec/lib/sports_data_api/nhl/team_spec.rb +1 -1
- metadata +2 -2
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
15
|
-
- rest-client/2.0.2 (
|
15
|
+
- rest-client/2.0.2 (darwin16.7.0 x86_64) ruby/2.3.3p222
|
16
16
|
Host:
|
17
17
|
- api.sportradar.us
|
18
18
|
response:
|
@@ -31,9 +31,9 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json;charset=utf-8
|
33
33
|
Date:
|
34
|
-
-
|
34
|
+
- Thu, 31 May 2018 20:58:18 GMT
|
35
35
|
Expires:
|
36
|
-
-
|
36
|
+
- Thu, 31 May 2018 20:58:29 GMT
|
37
37
|
Server:
|
38
38
|
- nginx
|
39
39
|
Via:
|
@@ -44,7 +44,7 @@ http_interactions:
|
|
44
44
|
X-Fe-Cache:
|
45
45
|
- MISS
|
46
46
|
X-Mashery-Responder:
|
47
|
-
- prod-j-worker-us-east-
|
47
|
+
- prod-j-worker-us-east-1e-65.mashery.com
|
48
48
|
X-Plan-Qps-Allotted:
|
49
49
|
- '25'
|
50
50
|
X-Plan-Qps-Current:
|
@@ -52,10 +52,10 @@ http_interactions:
|
|
52
52
|
X-Plan-Quota-Allotted:
|
53
53
|
- '15000'
|
54
54
|
X-Plan-Quota-Current:
|
55
|
-
- '
|
55
|
+
- '29'
|
56
56
|
X-Varnish:
|
57
|
-
- '
|
58
|
-
- '
|
57
|
+
- '1019646'
|
58
|
+
- '1195953'
|
59
59
|
X-Via:
|
60
60
|
- Translation-Proxy
|
61
61
|
Content-Length:
|
@@ -15712,44 +15712,5 @@ http_interactions:
|
|
15712
15712
|
MThhOTA1NzY3ZTQ0IiwibmFtZSI6IkRhbGxhcyBTdGFycyIsImFsaWFzIjoi
|
15713
15713
|
REFMIn19XX0=
|
15714
15714
|
http_version:
|
15715
|
-
recorded_at:
|
15716
|
-
- request:
|
15717
|
-
method: get
|
15718
|
-
uri: https://api.sportradar.us/nhl/ot/v5/en/games/2013/REG/schedule.json?api_key=<API_KEY>
|
15719
|
-
body:
|
15720
|
-
encoding: US-ASCII
|
15721
|
-
base64_string: ''
|
15722
|
-
headers:
|
15723
|
-
Accept:
|
15724
|
-
- "*/*"
|
15725
|
-
Accept-Encoding:
|
15726
|
-
- gzip, deflate
|
15727
|
-
User-Agent:
|
15728
|
-
- rest-client/2.0.2 (darwin16.7.0 x86_64) ruby/2.3.3p222
|
15729
|
-
Host:
|
15730
|
-
- api.sportradar.us
|
15731
|
-
response:
|
15732
|
-
status:
|
15733
|
-
code: 596
|
15734
|
-
message: '596'
|
15735
|
-
headers:
|
15736
|
-
Content-Type:
|
15737
|
-
- text/xml
|
15738
|
-
Date:
|
15739
|
-
- Thu, 31 May 2018 15:57:14 GMT
|
15740
|
-
Server:
|
15741
|
-
- Mashery Proxy
|
15742
|
-
X-Mashery-Error-Code:
|
15743
|
-
- ERR_596_SERVICE_NOT_FOUND
|
15744
|
-
Content-Length:
|
15745
|
-
- '30'
|
15746
|
-
Connection:
|
15747
|
-
- keep-alive
|
15748
|
-
body:
|
15749
|
-
encoding: UTF-8
|
15750
|
-
base64_string: 'PGgxPjU5NiBTZXJ2aWNlIE5vdCBGb3VuZDwvaDE+
|
15751
|
-
|
15752
|
-
'
|
15753
|
-
http_version:
|
15754
|
-
recorded_at: Thu, 31 May 2018 15:57:14 GMT
|
15715
|
+
recorded_at: Thu, 31 May 2018 20:58:19 GMT
|
15755
15716
|
recorded_with: VCR 3.0.3
|