halcyon_api 0.0.5

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.
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.dc01.gamelockerapp.com/shards/na/players/12b184cc-21d8-11e5-a63a-06eb725f8a76
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.api+json
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.dc01.gamelockerapp.com
18
+ Authorization:
19
+ - Bearer valid_api_key
20
+ X-Title-Id:
21
+ - semc-vainglory
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Tue, 06 Jun 2017 22:11:55 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '401'
33
+ Connection:
34
+ - keep-alive
35
+ Vary:
36
+ - Accept-Encoding
37
+ X-Ratelimit-Limit:
38
+ - '10'
39
+ X-Ratelimit-Remaining:
40
+ - '1'
41
+ X-Ratelimit-Reset:
42
+ - '51702261000'
43
+ X-Request-Id:
44
+ - db40d304-5903-4494-ae61-85578c938142
45
+ X-Title-Id:
46
+ - semc-vainglory
47
+ body:
48
+ encoding: ASCII-8BIT
49
+ string: |
50
+ {"data":{"type":"player","id":"12b184cc-21d8-11e5-a63a-06eb725f8a76","attributes":{"createdAt":"2017-06-06T19:24:03Z","name":"GrimJaw","shardId":"na","stats":{"elo_earned_season_4":196.22730611005164,"elo_earned_season_5":0,"elo_earned_season_6":196.2167062310048,"elo_earned_season_7":0,"karmaLevel":2,"level":30,"lifetimeGold":15055.3310546875,"lossStreak":0,"played":1164,"played_ranked":2016,"skillTier":1,"winStreak":0,"wins":651,"xp":175450},"titleId":"semc-vainglory"},"relationships":{"assets":{"data":[]}}},"links":{"self":"https://api.dc01.gamelockerapp.com/shards/na/players/12b184cc-21d8-11e5-a63a-06eb725f8a76"},"meta":{}}
51
+ http_version:
52
+ recorded_at: Tue, 06 Jun 2017 22:11:55 GMT
53
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,153 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.dc01.gamelockerapp.com/shards/na/players?filter%5BplayerNames%5D=GrimJaw,Bryangamer
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.api+json
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.dc01.gamelockerapp.com
18
+ Authorization:
19
+ - Bearer valid_api_key
20
+ X-Title-Id:
21
+ - semc-vainglory
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Tue, 06 Jun 2017 22:11:54 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '557'
33
+ Connection:
34
+ - keep-alive
35
+ Vary:
36
+ - Accept-Encoding
37
+ X-Ratelimit-Limit:
38
+ - '10'
39
+ X-Ratelimit-Remaining:
40
+ - '3'
41
+ X-Ratelimit-Reset:
42
+ - '40428671000'
43
+ X-Request-Id:
44
+ - a3adb748-0544-4ad0-a924-d0c9e3bb7200
45
+ X-Title-Id:
46
+ - semc-vainglory
47
+ body:
48
+ encoding: ASCII-8BIT
49
+ string: |
50
+ {"data":[{"type":"player","id":"12b184cc-21d8-11e5-a63a-06eb725f8a76","attributes":{"createdAt":"2017-06-06T19:24:03Z","name":"GrimJaw","shardId":"na","stats":{"elo_earned_season_4":196.22730611005164,"elo_earned_season_5":0,"elo_earned_season_6":196.2167062310048,"elo_earned_season_7":0,"karmaLevel":2,"level":30,"lifetimeGold":15055.3310546875,"lossStreak":0,"played":1164,"played_ranked":2016,"skillTier":1,"winStreak":0,"wins":651,"xp":175450},"titleId":"semc-vainglory"},"relationships":{"assets":{"data":[]}}},{"type":"player","id":"6bbcc0b0-1ece-11e6-a73e-06fc87f1dd11","attributes":{"createdAt":"2017-06-06T19:41:07Z","name":"Bryangamer","shardId":"na","stats":{"elo_earned_season_4":1140.8205134101554,"elo_earned_season_5":1331.2039532066456,"elo_earned_season_6":1297.4319735772247,"elo_earned_season_7":1308.1993564877152,"karmaLevel":1,"level":30,"lifetimeGold":14659.5,"lossStreak":0,"played":1998,"played_ranked":351,"skillTier":13,"winStreak":0,"wins":716,"xp":175450},"titleId":"semc-vainglory"},"relationships":{"assets":{"data":[]}}}],"links":{"self":"https://api.dc01.gamelockerapp.com/shards/na/players?filter[playerNames]=GrimJaw,Bryangamer"},"meta":{}}
51
+ http_version:
52
+ recorded_at: Tue, 06 Jun 2017 22:11:54 GMT
53
+ - request:
54
+ method: get
55
+ uri: https://api.dc01.gamelockerapp.com/shards/na/players?filter%5BplayerNames%5D=TheRealKrul
56
+ body:
57
+ encoding: US-ASCII
58
+ string: ''
59
+ headers:
60
+ Accept-Encoding:
61
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
62
+ Accept:
63
+ - application/vnd.api+json
64
+ User-Agent:
65
+ - Ruby
66
+ Host:
67
+ - api.dc01.gamelockerapp.com
68
+ Authorization:
69
+ - Bearer valid_api_key
70
+ X-Title-Id:
71
+ - semc-vainglory
72
+ response:
73
+ status:
74
+ code: 404
75
+ message: Not Found
76
+ headers:
77
+ Date:
78
+ - Tue, 06 Jun 2017 22:11:54 GMT
79
+ Content-Type:
80
+ - application/vnd.api+json
81
+ Content-Length:
82
+ - '125'
83
+ Connection:
84
+ - keep-alive
85
+ Vary:
86
+ - Accept-Encoding
87
+ X-Ratelimit-Limit:
88
+ - '10'
89
+ X-Ratelimit-Remaining:
90
+ - '2'
91
+ X-Ratelimit-Reset:
92
+ - '45980875000'
93
+ X-Request-Id:
94
+ - af314259-feb9-4adb-a718-ac3f88a22986
95
+ X-Title-Id:
96
+ - semc-vainglory
97
+ body:
98
+ encoding: ASCII-8BIT
99
+ string: |
100
+ {"errors":[{"title":"Not Found","detail":"criteria: \u0026{ na [TheRealKrul] [] 6 0 0 semc-vainglory}"}]}
101
+ http_version:
102
+ recorded_at: Tue, 06 Jun 2017 22:11:54 GMT
103
+ - request:
104
+ method: get
105
+ uri: https://api.dc01.gamelockerapp.com/shards/na/players/invalid-id
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ''
109
+ headers:
110
+ Accept-Encoding:
111
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
112
+ Accept:
113
+ - application/vnd.api+json
114
+ User-Agent:
115
+ - Ruby
116
+ Host:
117
+ - api.dc01.gamelockerapp.com
118
+ Authorization:
119
+ - Bearer valid_api_key
120
+ X-Title-Id:
121
+ - semc-vainglory
122
+ response:
123
+ status:
124
+ code: 404
125
+ message: Not Found
126
+ headers:
127
+ Date:
128
+ - Tue, 06 Jun 2017 22:11:55 GMT
129
+ Content-Type:
130
+ - application/vnd.api+json
131
+ Content-Length:
132
+ - '59'
133
+ Connection:
134
+ - keep-alive
135
+ Vary:
136
+ - Accept-Encoding
137
+ X-Ratelimit-Limit:
138
+ - '10'
139
+ X-Ratelimit-Remaining:
140
+ - '0'
141
+ X-Ratelimit-Reset:
142
+ - '57489045000'
143
+ X-Request-Id:
144
+ - 57605544-1556-46c6-a02d-c3f3fd8bc467
145
+ X-Title-Id:
146
+ - semc-vainglory
147
+ body:
148
+ encoding: ASCII-8BIT
149
+ string: |
150
+ {"errors":[{"title":"Not Found"}]}
151
+ http_version:
152
+ recorded_at: Tue, 06 Jun 2017 22:11:55 GMT
153
+ recorded_with: VCR 3.0.3