omdbapi 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omdbapi/client.rb +9 -6
- data/lib/omdbapi/version.rb +1 -1
- data/omdbapi.gemspec +5 -3
- data/spec/omdbapi/client_spec.rb +107 -59
- data/spec/omdbapi/default_spec.rb +4 -6
- data/spec/spec_helper.rb +6 -7
- data/spec/vcr/id/existing.yml +73 -0
- data/spec/vcr/id/nonexistent.yml +55 -0
- data/spec/vcr/search/empty.yml +55 -0
- data/spec/vcr/search/find.yml +205 -0
- data/spec/vcr/search/result.yml +114 -0
- data/spec/vcr/search/results.yml +104 -0
- data/spec/vcr/title/episode.yml +72 -0
- data/spec/vcr/title/nonexistent.yml +55 -0
- data/spec/vcr/title/plot.yml +149 -0
- data/spec/vcr/title/season.yml +63 -0
- data/spec/vcr/title/season_and_episode.yml +61 -0
- data/spec/vcr/title/tomatoes.yml +64 -0
- data/spec/vcr/title/valid.yml +57 -0
- data/spec/vcr/title/year.yml +119 -0
- metadata +76 -20
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://omdbapi.com/?episode=1&t=True%20Detective
|
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
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Sat, 16 Apr 2016 17:16:36 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=dcde6afa8b10b146d7cceda80814b48321460826996; expires=Sun, 16-Apr-17
|
31
|
+
17:16:36 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- public, max-age=3600
|
34
|
+
Expires:
|
35
|
+
- Sat, 16 Apr 2016 18:17:02 GMT
|
36
|
+
Last-Modified:
|
37
|
+
- Sat, 16 Apr 2016 17:17:02 GMT
|
38
|
+
Vary:
|
39
|
+
- "*"
|
40
|
+
X-Aspnet-Version:
|
41
|
+
- 4.0.30319
|
42
|
+
X-Powered-By:
|
43
|
+
- ASP.NET
|
44
|
+
Access-Control-Allow-Origin:
|
45
|
+
- "*"
|
46
|
+
Server:
|
47
|
+
- cloudflare-nginx
|
48
|
+
Cf-Ray:
|
49
|
+
- 294949388f1d3798-ARN
|
50
|
+
body:
|
51
|
+
encoding: ASCII-8BIT
|
52
|
+
string: !binary |-
|
53
|
+
eyJUaXRsZSI6IlRydWUgRGV0ZWN0aXZlIiwiWWVhciI6IjIwMTTigJMiLCJS
|
54
|
+
YXRlZCI6IlRWLU1BIiwiUmVsZWFzZWQiOiIxMiBKYW4gMjAxNCIsIlJ1bnRp
|
55
|
+
bWUiOiI1NSBtaW4iLCJHZW5yZSI6IkNyaW1lLCBEcmFtYSwgTXlzdGVyeSIs
|
56
|
+
IkRpcmVjdG9yIjoiTi9BIiwiV3JpdGVyIjoiTmljIFBpenpvbGF0dG8iLCJB
|
57
|
+
Y3RvcnMiOiJNYXR0aGV3IE1jQ29uYXVnaGV5LCBDb2xpbiBGYXJyZWxsLCBX
|
58
|
+
b29keSBIYXJyZWxzb24sIFJhY2hlbCBNY0FkYW1zIiwiUGxvdCI6IkFuIGFu
|
59
|
+
dGhvbG9neSBzZXJpZXMgaW4gd2hpY2ggcG9saWNlIGludmVzdGlnYXRpb25z
|
60
|
+
IHVuZWFydGggdGhlIHBlcnNvbmFsIGFuZCBwcm9mZXNzaW9uYWwgc2VjcmV0
|
61
|
+
cyBvZiB0aG9zZSBpbnZvbHZlZCwgYm90aCB3aXRoaW4gYW5kIG91dHNpZGUg
|
62
|
+
dGhlIGxhdy4iLCJMYW5ndWFnZSI6IkVuZ2xpc2giLCJDb3VudHJ5IjoiVVNB
|
63
|
+
IiwiQXdhcmRzIjoiTm9taW5hdGVkIGZvciA0IEdvbGRlbiBHbG9iZXMuIEFu
|
64
|
+
b3RoZXIgMjYgd2lucyAmIDQ0IG5vbWluYXRpb25zLiIsIlBvc3RlciI6Imh0
|
65
|
+
dHA6Ly9pYS5tZWRpYS1pbWRiLmNvbS9pbWFnZXMvTS9NVjVCTVRVek5UTXdP
|
66
|
+
REkxT1Y1Qk1sNUJhbkJuWGtGdFpUZ3dNREl6TVRRME5URUAuX1YxX1NYMzAw
|
67
|
+
LmpwZyIsIk1ldGFzY29yZSI6Ik4vQSIsImltZGJSYXRpbmciOiI5LjEiLCJp
|
68
|
+
bWRiVm90ZXMiOiIzMDksNzE0IiwiaW1kYklEIjoidHQyMzU2Nzc3IiwiVHlw
|
69
|
+
ZSI6InNlcmllcyIsIlJlc3BvbnNlIjoiVHJ1ZSJ9
|
70
|
+
http_version:
|
71
|
+
recorded_at: Sat, 16 Apr 2016 17:16:36 GMT
|
72
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://omdbapi.com/?t=lsdfoweirjrpwef323423dsfkip
|
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
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Sat, 16 Apr 2016 17:33:40 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Content-Length:
|
26
|
+
- '47'
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=dd94c25e191c69d49bc20a4744cdeef071460828019; expires=Sun, 16-Apr-17
|
31
|
+
17:33:39 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- public, max-age=2697
|
34
|
+
Expires:
|
35
|
+
- Sat, 16 Apr 2016 18:19:02 GMT
|
36
|
+
Last-Modified:
|
37
|
+
- Sat, 16 Apr 2016 17:19:02 GMT
|
38
|
+
Vary:
|
39
|
+
- "*"
|
40
|
+
X-Aspnet-Version:
|
41
|
+
- 4.0.30319
|
42
|
+
X-Powered-By:
|
43
|
+
- ASP.NET
|
44
|
+
Access-Control-Allow-Origin:
|
45
|
+
- "*"
|
46
|
+
Server:
|
47
|
+
- cloudflare-nginx
|
48
|
+
Cf-Ray:
|
49
|
+
- 29496234b2cf375c-ARN
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: '{"Response":"False","Error":"Movie not found!"}'
|
53
|
+
http_version:
|
54
|
+
recorded_at: Sat, 16 Apr 2016 17:33:40 GMT
|
55
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,149 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://omdbapi.com/?t=Game%20of%20Thrones
|
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
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Sat, 16 Apr 2016 17:10:06 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=d8e08e943ecf43a42c9332e8d7eb902221460826606; expires=Sun, 16-Apr-17
|
31
|
+
17:10:06 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- public, max-age=3600
|
34
|
+
Expires:
|
35
|
+
- Sat, 16 Apr 2016 18:10:32 GMT
|
36
|
+
Last-Modified:
|
37
|
+
- Sat, 16 Apr 2016 17:10:32 GMT
|
38
|
+
Vary:
|
39
|
+
- "*"
|
40
|
+
X-Aspnet-Version:
|
41
|
+
- 4.0.30319
|
42
|
+
X-Powered-By:
|
43
|
+
- ASP.NET
|
44
|
+
Access-Control-Allow-Origin:
|
45
|
+
- "*"
|
46
|
+
Server:
|
47
|
+
- cloudflare-nginx
|
48
|
+
Cf-Ray:
|
49
|
+
- 29493fb34bad3798-ARN
|
50
|
+
body:
|
51
|
+
encoding: ASCII-8BIT
|
52
|
+
string: !binary |-
|
53
|
+
eyJUaXRsZSI6IkdhbWUgb2YgVGhyb25lcyIsIlllYXIiOiIyMDEx4oCTIiwi
|
54
|
+
UmF0ZWQiOiJUVi1NQSIsIlJlbGVhc2VkIjoiMTcgQXByIDIwMTEiLCJSdW50
|
55
|
+
aW1lIjoiNTYgbWluIiwiR2VucmUiOiJBZHZlbnR1cmUsIERyYW1hLCBGYW50
|
56
|
+
YXN5IiwiRGlyZWN0b3IiOiJOL0EiLCJXcml0ZXIiOiJEYXZpZCBCZW5pb2Zm
|
57
|
+
LCBELkIuIFdlaXNzIiwiQWN0b3JzIjoiUGV0ZXIgRGlua2xhZ2UsIExlbmEg
|
58
|
+
SGVhZGV5LCBFbWlsaWEgQ2xhcmtlLCBLaXQgSGFyaW5ndG9uIiwiUGxvdCI6
|
59
|
+
IldoaWxlIGEgY2l2aWwgd2FyIGJyZXdzIGJldHdlZW4gc2V2ZXJhbCBub2Js
|
60
|
+
ZSBmYW1pbGllcyBpbiBXZXN0ZXJvcywgdGhlIGNoaWxkcmVuIG9mIHRoZSBm
|
61
|
+
b3JtZXIgcnVsZXJzIG9mIHRoZSBsYW5kIGF0dGVtcHQgdG8gcmlzZSB1cCB0
|
62
|
+
byBwb3dlci4gTWVhbndoaWxlIGEgZm9yZ290dGVuIHJhY2UsIGJlbnQgb24g
|
63
|
+
ZGVzdHJ1Y3Rpb24sIHJldHVybiBhZnRlciB0aG91c2FuZHMgb2YgeWVhcnMg
|
64
|
+
aW4gdGhlIE5vcnRoLiIsIkxhbmd1YWdlIjoiRW5nbGlzaCIsIkNvdW50cnki
|
65
|
+
OiJVU0EiLCJBd2FyZHMiOiJXb24gMSBHb2xkZW4gR2xvYmUuIEFub3RoZXIg
|
66
|
+
MTcyIHdpbnMgJiAyNzggbm9taW5hdGlvbnMuIiwiUG9zdGVyIjoiaHR0cDov
|
67
|
+
L2lhLm1lZGlhLWltZGIuY29tL2ltYWdlcy9NL01WNUJNak01T1RRMU1UWTVO
|
68
|
+
bDVCTWw1QmFuQm5Ya0Z0WlRnd01qTTNOek14T0RFQC5fVjFfU1gzMDAuanBn
|
69
|
+
IiwiTWV0YXNjb3JlIjoiTi9BIiwiaW1kYlJhdGluZyI6IjkuNSIsImltZGJW
|
70
|
+
b3RlcyI6IjkzNCw0OTkiLCJpbWRiSUQiOiJ0dDA5NDQ5NDciLCJUeXBlIjoi
|
71
|
+
c2VyaWVzIiwiUmVzcG9uc2UiOiJUcnVlIn0=
|
72
|
+
http_version:
|
73
|
+
recorded_at: Sat, 16 Apr 2016 17:10:06 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: http://omdbapi.com/?plot=full&t=Game%20of%20Thrones
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
Accept-Encoding:
|
82
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
+
Accept:
|
84
|
+
- "*/*"
|
85
|
+
User-Agent:
|
86
|
+
- Ruby
|
87
|
+
response:
|
88
|
+
status:
|
89
|
+
code: 200
|
90
|
+
message: OK
|
91
|
+
headers:
|
92
|
+
Date:
|
93
|
+
- Sat, 16 Apr 2016 17:10:07 GMT
|
94
|
+
Content-Type:
|
95
|
+
- application/json; charset=utf-8
|
96
|
+
Transfer-Encoding:
|
97
|
+
- chunked
|
98
|
+
Connection:
|
99
|
+
- keep-alive
|
100
|
+
Set-Cookie:
|
101
|
+
- __cfduid=d5774fdb89dabda309d65a18c85babbb31460826607; expires=Sun, 16-Apr-17
|
102
|
+
17:10:07 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
103
|
+
Cache-Control:
|
104
|
+
- public, max-age=3600
|
105
|
+
Expires:
|
106
|
+
- Sat, 16 Apr 2016 18:10:32 GMT
|
107
|
+
Last-Modified:
|
108
|
+
- Sat, 16 Apr 2016 17:10:32 GMT
|
109
|
+
Vary:
|
110
|
+
- "*"
|
111
|
+
X-Aspnet-Version:
|
112
|
+
- 4.0.30319
|
113
|
+
X-Powered-By:
|
114
|
+
- ASP.NET
|
115
|
+
Access-Control-Allow-Origin:
|
116
|
+
- "*"
|
117
|
+
Server:
|
118
|
+
- cloudflare-nginx
|
119
|
+
Cf-Ray:
|
120
|
+
- 29493fb5c7a30a48-ARN
|
121
|
+
body:
|
122
|
+
encoding: ASCII-8BIT
|
123
|
+
string: !binary |-
|
124
|
+
eyJUaXRsZSI6IkdhbWUgb2YgVGhyb25lcyIsIlllYXIiOiIyMDEx4oCTIiwi
|
125
|
+
UmF0ZWQiOiJUVi1NQSIsIlJlbGVhc2VkIjoiMTcgQXByIDIwMTEiLCJSdW50
|
126
|
+
aW1lIjoiNTYgbWluIiwiR2VucmUiOiJBZHZlbnR1cmUsIERyYW1hLCBGYW50
|
127
|
+
YXN5IiwiRGlyZWN0b3IiOiJOL0EiLCJXcml0ZXIiOiJEYXZpZCBCZW5pb2Zm
|
128
|
+
LCBELkIuIFdlaXNzIiwiQWN0b3JzIjoiUGV0ZXIgRGlua2xhZ2UsIExlbmEg
|
129
|
+
SGVhZGV5LCBFbWlsaWEgQ2xhcmtlLCBLaXQgSGFyaW5ndG9uIiwiUGxvdCI6
|
130
|
+
Ik5lZCBTdGFyaywgTG9yZCBvZiBXaW50ZXJmZWxsLCBiZWNvbWVzIHRoZSBI
|
131
|
+
YW5kIG9mIHRoZSBLaW5nIGFmdGVyIHRoZSBmb3JtZXIgSGFuZCwgSm9uIEFy
|
132
|
+
cnluLCBoYXMgcGFzc2VkIGF3YXkuIEJ1dCBiZWZvcmUgTmVkIGdvZXMgdG8g
|
133
|
+
dGhlIGNhcGl0YWwsIEtpbmcncyBMYW5kaW5nLCBhIGxldHRlciBhcnJpdmVz
|
134
|
+
IGZyb20gaGlzIHdpZmUncyBzaXN0ZXIgTHlzYSwgd2hvIHdhcyB0aGUgd2lm
|
135
|
+
ZSBvZiBKb24gQXJyeW4uIFRoZXJlIGl0IHNheXMgdGhhdCBoZXIgaHVzYmFu
|
136
|
+
ZCB3YXMgbXVyZGVyZWQsIGFuZCBpdCBpcyB1cCB0byBOZWQgdG8gZmluZCBv
|
137
|
+
dXQgd2hhdCdzIGdvaW5nIG9uLiBCdXQgdGhhdCBpc24ndCBldmVyeXRoaW5n
|
138
|
+
LiBUaGUgV2hpdGUgV2Fsa2VycyBoYXZlIGJlZW4gc2VlbiwgYW5kIHRoZXkg
|
139
|
+
c2VlbSB0byBnbyBkb3duIHNvdXRoLiIsIkxhbmd1YWdlIjoiRW5nbGlzaCIs
|
140
|
+
IkNvdW50cnkiOiJVU0EiLCJBd2FyZHMiOiJXb24gMSBHb2xkZW4gR2xvYmUu
|
141
|
+
IEFub3RoZXIgMTcyIHdpbnMgJiAyNzggbm9taW5hdGlvbnMuIiwiUG9zdGVy
|
142
|
+
IjoiaHR0cDovL2lhLm1lZGlhLWltZGIuY29tL2ltYWdlcy9NL01WNUJNak01
|
143
|
+
T1RRMU1UWTVObDVCTWw1QmFuQm5Ya0Z0WlRnd01qTTNOek14T0RFQC5fVjFf
|
144
|
+
U1gzMDAuanBnIiwiTWV0YXNjb3JlIjoiTi9BIiwiaW1kYlJhdGluZyI6Ijku
|
145
|
+
NSIsImltZGJWb3RlcyI6IjkzNCw0OTkiLCJpbWRiSUQiOiJ0dDA5NDQ5NDci
|
146
|
+
LCJUeXBlIjoic2VyaWVzIiwiUmVzcG9uc2UiOiJUcnVlIn0=
|
147
|
+
http_version:
|
148
|
+
recorded_at: Sat, 16 Apr 2016 17:10:07 GMT
|
149
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://omdbapi.com/?season=1&t=True%20Detective
|
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
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Sat, 16 Apr 2016 17:12:15 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=db6dc4a595c18d65776968bfea4f916e71460826735; expires=Sun, 16-Apr-17
|
31
|
+
17:12:15 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- public, max-age=3600
|
34
|
+
Expires:
|
35
|
+
- Sat, 16 Apr 2016 18:12:41 GMT
|
36
|
+
Last-Modified:
|
37
|
+
- Sat, 16 Apr 2016 17:12:41 GMT
|
38
|
+
Vary:
|
39
|
+
- "*"
|
40
|
+
X-Aspnet-Version:
|
41
|
+
- 4.0.30319
|
42
|
+
X-Powered-By:
|
43
|
+
- ASP.NET
|
44
|
+
Access-Control-Allow-Origin:
|
45
|
+
- "*"
|
46
|
+
Server:
|
47
|
+
- cloudflare-nginx
|
48
|
+
Cf-Ray:
|
49
|
+
- 294942d8bf1836f0-ARN
|
50
|
+
body:
|
51
|
+
encoding: ASCII-8BIT
|
52
|
+
string: '{"Title":"True Detective","Season":"1","Episodes":[{"Title":"The Long
|
53
|
+
Bright Dark","Released":"2014-01-12","Episode":"1","imdbRating":"9.0","imdbID":"tt2657398"},{"Title":"Seeing
|
54
|
+
Things","Released":"2014-01-19","Episode":"2","imdbRating":"8.9","imdbID":"tt2704380"},{"Title":"The
|
55
|
+
Locked Room","Released":"2014-01-26","Episode":"3","imdbRating":"9.2","imdbID":"tt2790184"},{"Title":"Who
|
56
|
+
Goes There","Released":"2014-02-09","Episode":"4","imdbRating":"9.7","imdbID":"tt2790174"},{"Title":"The
|
57
|
+
Secret Fate of All Life","Released":"2014-02-16","Episode":"5","imdbRating":"9.6","imdbID":"tt2790196"},{"Title":"Haunted
|
58
|
+
Houses","Released":"2014-02-23","Episode":"6","imdbRating":"9.2","imdbID":"tt2790238"},{"Title":"After
|
59
|
+
You''ve Gone","Released":"2014-03-02","Episode":"7","imdbRating":"9.2","imdbID":"tt2790240"},{"Title":"Form
|
60
|
+
and Void","Released":"2014-03-09","Episode":"8","imdbRating":"9.5","imdbID":"tt2790254"}],"Response":"True"}'
|
61
|
+
http_version:
|
62
|
+
recorded_at: Sat, 16 Apr 2016 17:12:15 GMT
|
63
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://omdbapi.com/?episode=1&season=1&t=True%20Detective
|
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
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Sat, 16 Apr 2016 17:11:23 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=dc956a2d8b89bdcbcaf484d791b4f39501460826682; expires=Sun, 16-Apr-17
|
31
|
+
17:11:22 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- public, max-age=3600
|
34
|
+
Expires:
|
35
|
+
- Sat, 16 Apr 2016 18:11:48 GMT
|
36
|
+
Last-Modified:
|
37
|
+
- Sat, 16 Apr 2016 17:11:48 GMT
|
38
|
+
Vary:
|
39
|
+
- "*"
|
40
|
+
X-Aspnet-Version:
|
41
|
+
- 4.0.30319
|
42
|
+
X-Powered-By:
|
43
|
+
- ASP.NET
|
44
|
+
Access-Control-Allow-Origin:
|
45
|
+
- "*"
|
46
|
+
Server:
|
47
|
+
- cloudflare-nginx
|
48
|
+
Cf-Ray:
|
49
|
+
- 2949418fd6080a48-ARN
|
50
|
+
body:
|
51
|
+
encoding: ASCII-8BIT
|
52
|
+
string: '{"Title":"The Long Bright Dark","Year":"2014","Rated":"TV-MA","Released":"12
|
53
|
+
Jan 2014","Season":"1","Episode":"1","Runtime":"58 min","Genre":"Crime, Drama,
|
54
|
+
Mystery","Director":"Cary Joji Fukunaga","Writer":"Nic Pizzolatto (created
|
55
|
+
by), Nic Pizzolatto","Actors":"Matthew McConaughey, Woody Harrelson, Michelle
|
56
|
+
Monaghan, Michael Potts","Plot":"In 2012, former detective partners, Rust
|
57
|
+
Cohle and Martin Hart recap one of their very first cases together involving
|
58
|
+
a serial killer, back in 1995.","Language":"English","Country":"USA","Awards":"N/A","Poster":"http://ia.media-imdb.com/images/M/MV5BMTY5NjA2MjEyN15BMl5BanBnXkFtZTgwNzU2MjQ4MDE@._V1_SX300.jpg","Metascore":"N/A","imdbRating":"9.0","imdbVotes":"10670","imdbID":"tt2657398","seriesID":"tt2356777","Type":"episode","Response":"True"}'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Sat, 16 Apr 2016 17:11:23 GMT
|
61
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://omdbapi.com/?t=inception&tomatoes=true
|
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
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 05 May 2016 21:10:36 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Set-Cookie:
|
30
|
+
- __cfduid=d605a4512f86f0444512d6fc14ddedb7f1462482636; expires=Fri, 05-May-17
|
31
|
+
21:10:36 GMT; path=/; domain=.omdbapi.com; HttpOnly
|
32
|
+
Cache-Control:
|
33
|
+
- public, max-age=3600
|
34
|
+
Expires:
|
35
|
+
- Thu, 05 May 2016 22:10:31 GMT
|
36
|
+
Last-Modified:
|
37
|
+
- Thu, 05 May 2016 21:10:31 GMT
|
38
|
+
Vary:
|
39
|
+
- '*'
|
40
|
+
X-Aspnet-Version:
|
41
|
+
- 4.0.30319
|
42
|
+
X-Powered-By:
|
43
|
+
- ASP.NET
|
44
|
+
Access-Control-Allow-Origin:
|
45
|
+
- '*'
|
46
|
+
Server:
|
47
|
+
- cloudflare-nginx
|
48
|
+
Cf-Ray:
|
49
|
+
- 29e72e1f682137e0-ATL
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: '{"Title":"Inception","Year":"2010","Rated":"PG-13","Released":"16 Jul
|
53
|
+
2010","Runtime":"148 min","Genre":"Action, Mystery, Sci-Fi","Director":"Christopher
|
54
|
+
Nolan","Writer":"Christopher Nolan","Actors":"Leonardo DiCaprio, Joseph Gordon-Levitt,
|
55
|
+
Ellen Page, Tom Hardy","Plot":"A thief, who steals corporate secrets through
|
56
|
+
use of dream-sharing technology, is given the inverse task of planting an
|
57
|
+
idea into the mind of a CEO.","Language":"English, Japanese, French","Country":"USA,
|
58
|
+
UK","Awards":"Won 4 Oscars. Another 139 wins & 192 nominations.","Poster":"http://ia.media-imdb.com/images/M/MV5BMjAxMzY3NjcxNF5BMl5BanBnXkFtZTcwNTI5OTM0Mw@@._V1_SX300.jpg","Metascore":"74","imdbRating":"8.8","imdbVotes":"1,421,781","imdbID":"tt1375666","Type":"movie","tomatoMeter":"86","tomatoImage":"certified","tomatoRating":"8.1","tomatoReviews":"325","tomatoFresh":"281","tomatoRotten":"44","tomatoConsensus":"Smart,
|
59
|
+
innovative, and thrilling, Inception is that rare summer blockbuster that
|
60
|
+
succeeds viscerally as well as intellectually.","tomatoUserMeter":"91","tomatoUserRating":"4.2","tomatoUserReviews":"563824","tomatoURL":"http://www.rottentomatoes.com/m/inception/","DVD":"07
|
61
|
+
Dec 2010","BoxOffice":"$292.6M","Production":"Warner Bros. Pictures","Website":"http://inceptionmovie.warnerbros.com/","Response":"True"}'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Thu, 05 May 2016 21:10:36 GMT
|
64
|
+
recorded_with: VCR 3.0.1
|