sports_data_api 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -1,44 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.sportradar.us/nhl/ot/v5/en/games/2013/12/12/schedule.json?api_key=<API_KEY>
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
base64_string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- rest-client/2.0.2 (darwin15.6.0 x86_64) ruby/2.4.2p198
|
16
|
-
Host:
|
17
|
-
- api.sportradar.us
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 596
|
21
|
-
message: '596'
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/xml
|
25
|
-
Date:
|
26
|
-
- Wed, 10 Jan 2018 05:22:27 GMT
|
27
|
-
Server:
|
28
|
-
- Mashery Proxy
|
29
|
-
X-Mashery-Error-Code:
|
30
|
-
- ERR_596_SERVICE_NOT_FOUND
|
31
|
-
Content-Length:
|
32
|
-
- '30'
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
body:
|
36
|
-
encoding: UTF-8
|
37
|
-
base64_string: 'PGgxPjU5NiBTZXJ2aWNlIE5vdCBGb3VuZDwvaDE+
|
38
|
-
|
39
|
-
'
|
40
|
-
http_version:
|
41
|
-
recorded_at: Wed, 10 Jan 2018 05:22:27 GMT
|
42
3
|
- request:
|
43
4
|
method: get
|
44
5
|
uri: https://api.sportradar.us/nhl/trial/v5/en/games/2013/12/12/schedule.json?api_key=<API_KEY>
|
@@ -51,7 +12,7 @@ http_interactions:
|
|
51
12
|
Accept-Encoding:
|
52
13
|
- gzip, deflate
|
53
14
|
User-Agent:
|
54
|
-
- rest-client/2.0.2 (
|
15
|
+
- rest-client/2.0.2 (darwin16.7.0 x86_64) ruby/2.3.3p222
|
55
16
|
Host:
|
56
17
|
- api.sportradar.us
|
57
18
|
response:
|
@@ -70,9 +31,9 @@ http_interactions:
|
|
70
31
|
Content-Type:
|
71
32
|
- application/json;charset=utf-8
|
72
33
|
Date:
|
73
|
-
-
|
34
|
+
- Thu, 31 May 2018 20:59:05 GMT
|
74
35
|
Expires:
|
75
|
-
-
|
36
|
+
- Thu, 31 May 2018 20:59:16 GMT
|
76
37
|
Server:
|
77
38
|
- nginx
|
78
39
|
Via:
|
@@ -83,7 +44,7 @@ http_interactions:
|
|
83
44
|
X-Fe-Cache:
|
84
45
|
- MISS
|
85
46
|
X-Mashery-Responder:
|
86
|
-
- prod-j-worker-us-east-1b-
|
47
|
+
- prod-j-worker-us-east-1b-50.mashery.com
|
87
48
|
X-Plan-Qps-Allotted:
|
88
49
|
- '25'
|
89
50
|
X-Plan-Qps-Current:
|
@@ -91,10 +52,10 @@ http_interactions:
|
|
91
52
|
X-Plan-Quota-Allotted:
|
92
53
|
- '15000'
|
93
54
|
X-Plan-Quota-Current:
|
94
|
-
- '
|
55
|
+
- '35'
|
95
56
|
X-Varnish:
|
96
|
-
- '
|
97
|
-
- '
|
57
|
+
- '1237098'
|
58
|
+
- '1245444'
|
98
59
|
X-Via:
|
99
60
|
- Translation-Proxy
|
100
61
|
Content-Length:
|
@@ -248,5 +209,5 @@ http_interactions:
|
|
248
209
|
MDkxYy0wZjI0LTExZTItODUyNS0xOGE5MDU3NjdlNDQiLCJuYW1lIjoiTWlu
|
249
210
|
bmVzb3RhIFdpbGQiLCJhbGlhcyI6Ik1JTiJ9fV19
|
250
211
|
http_version:
|
251
|
-
recorded_at:
|
212
|
+
recorded_at: Thu, 31 May 2018 20:59:05 GMT
|
252
213
|
recorded_with: VCR 3.0.3
|