tomato_power 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/Guardfile +9 -0
- data/LICENSE.txt +22 -0
- data/README.md +57 -0
- data/Rakefile +1 -0
- data/lib/tomato_power/api/api.rb +97 -0
- data/lib/tomato_power/api/tomato_methods.rb +82 -0
- data/lib/tomato_power/client.rb +35 -0
- data/lib/tomato_power/helpers/helpers.rb +12 -0
- data/lib/tomato_power/helpers/parsers.rb +28 -0
- data/lib/tomato_power/movie/actor.rb +12 -0
- data/lib/tomato_power/movie/clip.rb +10 -0
- data/lib/tomato_power/movie/movie.rb +56 -0
- data/lib/tomato_power/movie/review.rb +15 -0
- data/lib/tomato_power/version.rb +3 -0
- data/lib/tomato_power.rb +22 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/support/sample_data/no_results +1 -0
- data/spec/support/sample_data/sample_actor +5 -0
- data/spec/support/sample_data/sample_actors +186 -0
- data/spec/support/sample_data/sample_alias +64 -0
- data/spec/support/sample_data/sample_clip +6 -0
- data/spec/support/sample_data/sample_clips +147 -0
- data/spec/support/sample_data/sample_movie +1 -0
- data/spec/support/sample_data/sample_movies +46 -0
- data/spec/support/sample_data/sample_review +8 -0
- data/spec/support/sample_data/sample_reviews +191 -0
- data/spec/support/vcr/TomatoPower_API/API_Methods/valid_methods/should_create_methods.yml +598 -0
- data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_consider_0_options_valid.yml +306 -0
- data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_not_raise_error.yml +101 -0
- data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_return_a_list_of_movie_objects.yml +101 -0
- data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_url_encode_search_string_before_sending.yml +102 -0
- data/spec/support/vcr/TomatoPower_API/List_request/should_return_a_list_of_movie_objects.yml +101 -0
- data/spec/support/vcr/TomatoPower_API/List_request/should_url_encode_search_string_before_sending.yml +102 -0
- data/spec/support/vcr/TomatoPower_API/Movie_request/cast/should_return_cast_of_movie.yml +356 -0
- data/spec/support/vcr/TomatoPower_API/Movie_request/clips/should_return_clips_of_movie.yml +638 -0
- data/spec/support/vcr/TomatoPower_API/Movie_request/no_results/should_return_error_string_if_no_results_are_found.yml +49 -0
- data/spec/support/vcr/TomatoPower_API/Movie_request/reviews/should_return_reviews.yml +271 -0
- data/spec/support/vcr/TomatoPower_API/Movie_request/should_return_single_movie.yml +161 -0
- data/spec/support/vcr/TomatoPower_API/Movie_request/similar/should_return_similar_movies.yml +121 -0
- data/spec/support/vcr/TomatoPower_Client/box_office_movies/should_return_list_of_movies.yml +396 -0
- data/spec/support/vcr/TomatoPower_Client/current_release_dvds/should_return_list_of_movies.yml +427 -0
- data/spec/support/vcr/TomatoPower_Client/in_theaters_movies/should_return_list_of_movies.yml +380 -0
- data/spec/support/vcr/TomatoPower_Client/new_release_dvds/should_return_list_of_movies.yml +392 -0
- data/spec/support/vcr/TomatoPower_Client/opening_movies/should_return_list_of_movies.yml +213 -0
- data/spec/support/vcr/TomatoPower_Client/search_by_id/should_return_list_of_movies_by_id.yml +88 -0
- data/spec/support/vcr/TomatoPower_Client/search_by_title/should_return_list_of_movies_by_title.yml +89 -0
- data/spec/support/vcr/TomatoPower_Client/top_rentals/should_return_list_of_movies.yml +409 -0
- data/spec/support/vcr/TomatoPower_Client/upcoming_dvds/should_return_list_of_movies.yml +359 -0
- data/spec/support/vcr/TomatoPower_Client/upcoming_movies/should_return_list_of_movies.yml +341 -0
- data/spec/support/vcr/TomatoPower_Movie/clips/should_return_clips.yml +250 -0
- data/spec/support/vcr/TomatoPower_Movie/full_cast/should_return_cast.yml +279 -0
- data/spec/support/vcr/TomatoPower_Movie/reviews/should_return_reviews.yml +205 -0
- data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similar_movies.yml +231 -0
- data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similars.yml +81 -0
- data/spec/support/vcr.rb +13 -0
- data/spec/unit_specs/actor_spec.rb +16 -0
- data/spec/unit_specs/api_spec.rb +126 -0
- data/spec/unit_specs/client_spec.rb +73 -0
- data/spec/unit_specs/clip_spec.rb +14 -0
- data/spec/unit_specs/helpers.rb +50 -0
- data/spec/unit_specs/helpers_spec.rb +4 -0
- data/spec/unit_specs/movie_spec.rb +75 -0
- data/spec/unit_specs/parsers_spec.rb +55 -0
- data/spec/unit_specs/review_spec.rb +17 -0
- data/spec/unit_specs/tomato_power_spec.rb +6 -0
- data/tomato_power.gemspec +29 -0
- metadata +295 -0
@@ -0,0 +1,102 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=<API_KEY>&page_limit=2&q=Mission%20Impossible
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
21
|
+
Content-Language:
|
22
|
+
- en-US
|
23
|
+
Content-Type:
|
24
|
+
- text/javascript;charset=ISO-8859-1
|
25
|
+
Date:
|
26
|
+
- Thu, 21 Feb 2013 19:09:08 GMT
|
27
|
+
Expires:
|
28
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
Server:
|
32
|
+
- Mashery Proxy
|
33
|
+
Set-Cookie:
|
34
|
+
- JSESSIONID=784E9C34CD2FD05B1717DEC756DA6774.localhost; Path=/
|
35
|
+
- ServerID=1336; Path=/
|
36
|
+
Vary:
|
37
|
+
- User-Agent,Accept-Encoding
|
38
|
+
X-Mashery-Responder:
|
39
|
+
- prod-j-worker-us-east-1d-20.mashery.com
|
40
|
+
Content-Length:
|
41
|
+
- '4193'
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: ! '
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
{"total":6,"movies":[{"id":"155654854","title":"Mission: Impossible III","year":2006,"mpaa_rating":"PG-13","runtime":127,"critics_consensus":"Fast-paced,
|
78
|
+
with eye-popping stunts and special effects, the latest Mission: Impossible
|
79
|
+
installment delivers everything an action fan could ask for. A thrilling summer
|
80
|
+
popcorn flick.","release_dates":{"theater":"2006-05-05","dvd":"2006-10-30"},"ratings":{"critics_rating":"Fresh","critics_score":70,"audience_rating":"Upright","audience_score":69},"synopsis":"","posters":{"thumbnail":"http://content6.flixster.com/movie/10/93/36/10933612_mob.jpg","profile":"http://content6.flixster.com/movie/10/93/36/10933612_pro.jpg","detailed":"http://content6.flixster.com/movie/10/93/36/10933612_det.jpg","original":"http://content6.flixster.com/movie/10/93/36/10933612_ori.jpg"},"abridged_cast":[{"name":"Tom
|
81
|
+
Cruise","id":"162652763","characters":["Ethan Hunt"]},{"name":"Philip Seymour
|
82
|
+
Hoffman","id":"162654287","characters":["Owen Davian"]},{"name":"Ving Rhames","id":"162693220","characters":["Luther
|
83
|
+
Strickell"]},{"name":"Billy Crudup","id":"162660766","characters":["Musgrave"]},{"name":"Michelle
|
84
|
+
Monaghan","id":"162654801","characters":["Julia"]}],"alternate_ids":{"imdb":"0317919"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854.json","alternate":"http://www.rottentomatoes.com/m/mission_impossible_3/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/similar.json"}},{"id":"770863873","title":"Mission:
|
85
|
+
Impossible Ghost Protocol","year":2011,"mpaa_rating":"PG-13","runtime":132,"critics_consensus":"Stylish,
|
86
|
+
fast-paced, and loaded with gripping set pieces, the fourth Mission: Impossible
|
87
|
+
is big-budget popcorn entertainment that really works.","release_dates":{"theater":"2011-12-21","dvd":"2012-04-17"},"ratings":{"critics_rating":"Certified
|
88
|
+
Fresh","critics_score":93,"audience_rating":"Upright","audience_score":85},"synopsis":"This
|
89
|
+
is not just another mission. The IMF is shut down when it''s implicated in
|
90
|
+
a global terrorist bombing plot. Ghost Protocol is initiated and Ethan Hunt
|
91
|
+
and his rogue new team must go undercover to clear their organization''s name.
|
92
|
+
No help, no contact, off the grid. You have never seen a mission grittier
|
93
|
+
and more intense than this. -- (C) Paramount","posters":{"thumbnail":"http://content6.flixster.com/movie/11/16/91/11169152_mob.jpg","profile":"http://content6.flixster.com/movie/11/16/91/11169152_pro.jpg","detailed":"http://content6.flixster.com/movie/11/16/91/11169152_det.jpg","original":"http://content6.flixster.com/movie/11/16/91/11169152_ori.jpg"},"abridged_cast":[{"name":"Tom
|
94
|
+
Cruise","id":"162652763","characters":["Ethan Hunt"]},{"name":"Simon Pegg","id":"162684057","characters":["Benji","Benji
|
95
|
+
Dunn"]},{"name":"Jeremy Renner","id":"309973652","characters":["Brandt","William
|
96
|
+
Brandt"]},{"name":"Ving Rhames","id":"162693220","characters":["Luther Stickell"]},{"name":"Vladimir
|
97
|
+
Mashkov","id":"770683572","characters":["Anatoly Sidirov","Sidorov"]}],"alternate_ids":{"imdb":"1229238"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873.json","alternate":"http://www.rottentomatoes.com/m/mission_impossible_ghost_protocol/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=Mission+Impossible&page_limit=2&page=1","next":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=Mission+Impossible&page_limit=2&page=2"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
|
98
|
+
|
99
|
+
'
|
100
|
+
http_version:
|
101
|
+
recorded_at: Thu, 21 Feb 2013 19:09:08 GMT
|
102
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,101 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=<API_KEY>&page_limit=2&q=jack
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
21
|
+
Content-Language:
|
22
|
+
- en-US
|
23
|
+
Content-Type:
|
24
|
+
- text/javascript;charset=ISO-8859-1
|
25
|
+
Date:
|
26
|
+
- Wed, 20 Feb 2013 15:31:48 GMT
|
27
|
+
Expires:
|
28
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
Server:
|
32
|
+
- Mashery Proxy
|
33
|
+
Set-Cookie:
|
34
|
+
- JSESSIONID=7F4632054442B61DE9228E76B83703EA.localhost; Path=/
|
35
|
+
- ServerID=1335; Path=/
|
36
|
+
Vary:
|
37
|
+
- User-Agent,Accept-Encoding
|
38
|
+
X-Mashery-Responder:
|
39
|
+
- prod-j-worker-us-east-1b-16.mashery.com
|
40
|
+
Content-Length:
|
41
|
+
- '4062'
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: ! '
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
{"total":594,"movies":[{"id":"771189410","title":"Jack the Giant Slayer","year":2013,"mpaa_rating":"PG-13","runtime":"","release_dates":{"theater":"2013-03-01"},"ratings":{"critics_score":-1,"audience_score":96},"synopsis":"\"Jack
|
78
|
+
the Giant Slayer\" tells the story of an ancient war that is reignited when
|
79
|
+
a young farmhand unwittingly opens a gateway between our world and a fearsome
|
80
|
+
race of giants. Unleashed on the Earth for the first time in centuries, the
|
81
|
+
giants strive to reclaim the land they once lost, forcing the young man, Jack
|
82
|
+
(Nicholas Hoult) into the battle of his life to stop them. Fighting for a
|
83
|
+
kingdom, its people, and the love of a brave princess, he comes face to face
|
84
|
+
with the unstoppable warriors he thought only existed in legend-and gets the
|
85
|
+
chance to become a legend himself.-- (C) Warner Bros","posters":{"thumbnail":"http://content7.flixster.com/movie/11/16/81/11168129_mob.jpg","profile":"http://content7.flixster.com/movie/11/16/81/11168129_pro.jpg","detailed":"http://content7.flixster.com/movie/11/16/81/11168129_det.jpg","original":"http://content7.flixster.com/movie/11/16/81/11168129_ori.jpg"},"abridged_cast":[{"name":"Nicholas
|
86
|
+
Hoult","id":"162654938","characters":["Jack"]},{"name":"Eleanor Tomlinson","id":"770707131"},{"name":"Stanley
|
87
|
+
Tucci","id":"162661152","characters":["Roderick"]},{"name":"Ian McShane","id":"326396263","characters":["King
|
88
|
+
Brahmwell"]},{"name":"Bill Nighy","id":"162652300","characters":["Fallon"]}],"alternate_ids":{"imdb":"1351685"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410.json","alternate":"http://www.rottentomatoes.com/m/jack_the_giant_slayer/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/similar.json"}},{"id":"771257656","title":"Percy
|
89
|
+
Jackson: Sea of Monsters","year":2013,"mpaa_rating":"Unrated","runtime":"","release_dates":{"theater":"2013-08-16"},"ratings":{"critics_score":-1,"audience_score":96},"synopsis":"Percy
|
90
|
+
Jackson, the son of Poseidon, continues his epic journey to fulfill his destiny,
|
91
|
+
as he teams with his demigod friends to retrieve the Golden Fleece, which
|
92
|
+
has the power to save their home and training ground, Camp Half-Blood.","posters":{"thumbnail":"http://images.rottentomatoescdn.com/images/redesign/poster_default.gif","profile":"http://images.rottentomatoescdn.com/images/redesign/poster_default.gif","detailed":"http://images.rottentomatoescdn.com/images/redesign/poster_default.gif","original":"http://images.rottentomatoescdn.com/images/redesign/poster_default.gif"},"abridged_cast":[{"name":"Logan
|
93
|
+
Lerman","id":"341816559","characters":["Percy Jackson"]},{"name":"Alexandra
|
94
|
+
Daddario","id":"770777867","characters":["Annabeth"]},{"name":"Brandon T.
|
95
|
+
Jackson","id":"770694652","characters":["Grover"]},{"name":"Nathan Fillion","id":"162654267","characters":["Hermes"]},{"name":"Jake
|
96
|
+
Abel","id":"770673230","characters":["Luke"]}],"alternate_ids":{"imdb":"1854564"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257656.json","alternate":"http://www.rottentomatoes.com/m/percy_jackson_sea_of_monsters/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257656/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257656/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257656/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257656/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=jack&page_limit=2&page=1","next":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=jack&page_limit=2&page=2"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
|
97
|
+
|
98
|
+
'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Wed, 20 Feb 2013 15:31:48 GMT
|
101
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,102 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=<API_KEY>&page_limit=2&q=Mission%20Impossible
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
21
|
+
Content-Language:
|
22
|
+
- en-US
|
23
|
+
Content-Type:
|
24
|
+
- text/javascript;charset=ISO-8859-1
|
25
|
+
Date:
|
26
|
+
- Wed, 20 Feb 2013 15:31:48 GMT
|
27
|
+
Expires:
|
28
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
Server:
|
32
|
+
- Mashery Proxy
|
33
|
+
Set-Cookie:
|
34
|
+
- JSESSIONID=4F79631C5921CD919480F09445BF2674.localhost; Path=/
|
35
|
+
- ServerID=1335; Path=/
|
36
|
+
Vary:
|
37
|
+
- User-Agent,Accept-Encoding
|
38
|
+
X-Mashery-Responder:
|
39
|
+
- prod-j-worker-us-east-1b-16.mashery.com
|
40
|
+
Content-Length:
|
41
|
+
- '4193'
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: ! '
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
{"total":6,"movies":[{"id":"155654854","title":"Mission: Impossible III","year":2006,"mpaa_rating":"PG-13","runtime":127,"critics_consensus":"Fast-paced,
|
78
|
+
with eye-popping stunts and special effects, the latest Mission: Impossible
|
79
|
+
installment delivers everything an action fan could ask for. A thrilling summer
|
80
|
+
popcorn flick.","release_dates":{"theater":"2006-05-05","dvd":"2006-10-30"},"ratings":{"critics_rating":"Fresh","critics_score":70,"audience_rating":"Upright","audience_score":69},"synopsis":"","posters":{"thumbnail":"http://content6.flixster.com/movie/10/93/36/10933612_mob.jpg","profile":"http://content6.flixster.com/movie/10/93/36/10933612_pro.jpg","detailed":"http://content6.flixster.com/movie/10/93/36/10933612_det.jpg","original":"http://content6.flixster.com/movie/10/93/36/10933612_ori.jpg"},"abridged_cast":[{"name":"Tom
|
81
|
+
Cruise","id":"162652763","characters":["Ethan Hunt"]},{"name":"Philip Seymour
|
82
|
+
Hoffman","id":"162654287","characters":["Owen Davian"]},{"name":"Ving Rhames","id":"162693220","characters":["Luther
|
83
|
+
Strickell"]},{"name":"Billy Crudup","id":"162660766","characters":["Musgrave"]},{"name":"Michelle
|
84
|
+
Monaghan","id":"162654801","characters":["Julia"]}],"alternate_ids":{"imdb":"0317919"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854.json","alternate":"http://www.rottentomatoes.com/m/mission_impossible_3/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/similar.json"}},{"id":"770863873","title":"Mission:
|
85
|
+
Impossible Ghost Protocol","year":2011,"mpaa_rating":"PG-13","runtime":132,"critics_consensus":"Stylish,
|
86
|
+
fast-paced, and loaded with gripping set pieces, the fourth Mission: Impossible
|
87
|
+
is big-budget popcorn entertainment that really works.","release_dates":{"theater":"2011-12-21","dvd":"2012-04-17"},"ratings":{"critics_rating":"Certified
|
88
|
+
Fresh","critics_score":93,"audience_rating":"Upright","audience_score":85},"synopsis":"This
|
89
|
+
is not just another mission. The IMF is shut down when it''s implicated in
|
90
|
+
a global terrorist bombing plot. Ghost Protocol is initiated and Ethan Hunt
|
91
|
+
and his rogue new team must go undercover to clear their organization''s name.
|
92
|
+
No help, no contact, off the grid. You have never seen a mission grittier
|
93
|
+
and more intense than this. -- (C) Paramount","posters":{"thumbnail":"http://content6.flixster.com/movie/11/16/91/11169152_mob.jpg","profile":"http://content6.flixster.com/movie/11/16/91/11169152_pro.jpg","detailed":"http://content6.flixster.com/movie/11/16/91/11169152_det.jpg","original":"http://content6.flixster.com/movie/11/16/91/11169152_ori.jpg"},"abridged_cast":[{"name":"Tom
|
94
|
+
Cruise","id":"162652763","characters":["Ethan Hunt"]},{"name":"Simon Pegg","id":"162684057","characters":["Benji","Benji
|
95
|
+
Dunn"]},{"name":"Jeremy Renner","id":"309973652","characters":["Brandt","William
|
96
|
+
Brandt"]},{"name":"Ving Rhames","id":"162693220","characters":["Luther Stickell"]},{"name":"Vladimir
|
97
|
+
Mashkov","id":"770683572","characters":["Anatoly Sidirov","Sidorov"]}],"alternate_ids":{"imdb":"1229238"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873.json","alternate":"http://www.rottentomatoes.com/m/mission_impossible_ghost_protocol/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/770863873/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=Mission+Impossible&page_limit=2&page=1","next":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=Mission+Impossible&page_limit=2&page=2"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
|
98
|
+
|
99
|
+
'
|
100
|
+
http_version:
|
101
|
+
recorded_at: Wed, 20 Feb 2013 15:31:49 GMT
|
102
|
+
recorded_with: VCR 2.4.0
|
@@ -0,0 +1,356 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/771189410/cast.json?apikey=<API_KEY>
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
21
|
+
Content-Language:
|
22
|
+
- en-US
|
23
|
+
Content-Type:
|
24
|
+
- text/javascript;charset=ISO-8859-1
|
25
|
+
Date:
|
26
|
+
- Wed, 20 Feb 2013 17:14:59 GMT
|
27
|
+
Expires:
|
28
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
Server:
|
32
|
+
- Mashery Proxy
|
33
|
+
Set-Cookie:
|
34
|
+
- JSESSIONID=36CD064DC4D37624B39CD597F8CE8F38.localhost; Path=/
|
35
|
+
- ServerID=1336; Path=/
|
36
|
+
Vary:
|
37
|
+
- User-Agent,Accept-Encoding
|
38
|
+
X-Mashery-Responder:
|
39
|
+
- prod-j-worker-us-east-1b-16.mashery.com
|
40
|
+
Content-Length:
|
41
|
+
- '643'
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: ! '
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
{"cast":[{"id":"162654938","name":"Nicholas Hoult","characters":["Jack"]},{"id":"770707131","name":"Eleanor
|
76
|
+
Tomlinson","characters":[]},{"id":"162661152","name":"Stanley Tucci","characters":["Roderick"]},{"id":"326396263","name":"Ian
|
77
|
+
McShane","characters":["King Brahmwell"]},{"id":"162652300","name":"Bill Nighy","characters":["Fallon"]},{"id":"162652152","name":"Ewan
|
78
|
+
McGregor","characters":["Elmont"]},{"id":"770696805","name":"John Kassir","characters":["Fallon"]},{"id":"162659692","name":"Warwick
|
79
|
+
Davis","characters":[]}],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/771189410.json"}}
|
80
|
+
|
81
|
+
'
|
82
|
+
http_version:
|
83
|
+
recorded_at: Wed, 20 Feb 2013 17:14:59 GMT
|
84
|
+
- request:
|
85
|
+
method: get
|
86
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/id/cast.json?apikey=<API_KEY>
|
87
|
+
body:
|
88
|
+
encoding: US-ASCII
|
89
|
+
string: ''
|
90
|
+
headers:
|
91
|
+
Accept:
|
92
|
+
- ! '*/*'
|
93
|
+
User-Agent:
|
94
|
+
- Ruby
|
95
|
+
response:
|
96
|
+
status:
|
97
|
+
code: 200
|
98
|
+
message: OK
|
99
|
+
headers:
|
100
|
+
Cache-Control:
|
101
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
102
|
+
Content-Language:
|
103
|
+
- en-US
|
104
|
+
Content-Type:
|
105
|
+
- text/javascript;charset=ISO-8859-1
|
106
|
+
Date:
|
107
|
+
- Wed, 20 Feb 2013 19:50:20 GMT
|
108
|
+
Expires:
|
109
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
110
|
+
Pragma:
|
111
|
+
- no-cache
|
112
|
+
Server:
|
113
|
+
- Mashery Proxy
|
114
|
+
Set-Cookie:
|
115
|
+
- JSESSIONID=46816D04ADF37D6AB25EE1554B14373B.localhost; Path=/
|
116
|
+
- ServerID=1336; Path=/
|
117
|
+
Vary:
|
118
|
+
- User-Agent,Accept-Encoding
|
119
|
+
X-Mashery-Responder:
|
120
|
+
- prod-j-worker-us-east-1c-14.mashery.com
|
121
|
+
Content-Length:
|
122
|
+
- '117'
|
123
|
+
Connection:
|
124
|
+
- keep-alive
|
125
|
+
body:
|
126
|
+
encoding: US-ASCII
|
127
|
+
string: ! '
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
{"cast":[],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/.json"}}
|
157
|
+
|
158
|
+
'
|
159
|
+
http_version:
|
160
|
+
recorded_at: Wed, 20 Feb 2013 19:50:19 GMT
|
161
|
+
- request:
|
162
|
+
method: get
|
163
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/770669920/cast.json?apikey=<API_KEY>
|
164
|
+
body:
|
165
|
+
encoding: US-ASCII
|
166
|
+
string: ''
|
167
|
+
headers:
|
168
|
+
Accept:
|
169
|
+
- ! '*/*'
|
170
|
+
User-Agent:
|
171
|
+
- Ruby
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: OK
|
176
|
+
headers:
|
177
|
+
Cache-Control:
|
178
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
179
|
+
Content-Language:
|
180
|
+
- en-US
|
181
|
+
Content-Type:
|
182
|
+
- text/javascript;charset=ISO-8859-1
|
183
|
+
Date:
|
184
|
+
- Thu, 21 Feb 2013 16:50:59 GMT
|
185
|
+
Expires:
|
186
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
187
|
+
Pragma:
|
188
|
+
- no-cache
|
189
|
+
Server:
|
190
|
+
- Mashery Proxy
|
191
|
+
Set-Cookie:
|
192
|
+
- JSESSIONID=5C93A8EB2E0C0E92E6A67705592DCB62.localhost; Path=/
|
193
|
+
- ServerID=1335; Path=/
|
194
|
+
Vary:
|
195
|
+
- User-Agent,Accept-Encoding
|
196
|
+
X-Mashery-Responder:
|
197
|
+
- prod-j-worker-us-east-1b-16.mashery.com
|
198
|
+
Content-Length:
|
199
|
+
- '740'
|
200
|
+
Connection:
|
201
|
+
- keep-alive
|
202
|
+
body:
|
203
|
+
encoding: US-ASCII
|
204
|
+
string: ! '
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
{"cast":[{"id":"162678026","name":"Bo Svenson","characters":["Lt. Yeager"]},{"id":"162716295","name":"Fred
|
234
|
+
Williamson","characters":["Fred Canfield"]},{"id":"770670413","name":"Peter
|
235
|
+
Hooten","characters":["Tony"]},{"id":"770735213","name":"Michael Pergolani","characters":["Nick"]},{"id":"770804220","name":"Jackie
|
236
|
+
Basehart","characters":["Berle"]},{"id":"770770596","name":"Raimund Harmstorf","characters":["Otto"]},{"id":"617102755","name":"Michel
|
237
|
+
Constantin","characters":["Veronique"]},{"id":"770686611","name":"Debra Berger","characters":["Nicole"]},{"id":"162660518","name":"Ian
|
238
|
+
Bannen","characters":["Col. Buckner"]}],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/770669920.json"}}
|
239
|
+
|
240
|
+
'
|
241
|
+
http_version:
|
242
|
+
recorded_at: Thu, 21 Feb 2013 16:50:59 GMT
|
243
|
+
- request:
|
244
|
+
method: get
|
245
|
+
uri: http://api.rottentomatoes.com/api/public/v1.0/movies/155654854/cast.json?apikey=<API_KEY>
|
246
|
+
body:
|
247
|
+
encoding: US-ASCII
|
248
|
+
string: ''
|
249
|
+
headers:
|
250
|
+
Accept:
|
251
|
+
- ! '*/*'
|
252
|
+
User-Agent:
|
253
|
+
- Ruby
|
254
|
+
response:
|
255
|
+
status:
|
256
|
+
code: 200
|
257
|
+
message: OK
|
258
|
+
headers:
|
259
|
+
Cache-Control:
|
260
|
+
- no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
261
|
+
Content-Language:
|
262
|
+
- en-US
|
263
|
+
Content-Type:
|
264
|
+
- text/javascript;charset=ISO-8859-1
|
265
|
+
Date:
|
266
|
+
- Thu, 21 Feb 2013 16:52:18 GMT
|
267
|
+
Expires:
|
268
|
+
- Sat, 6 May 1995 12:00:00 GMT
|
269
|
+
Pragma:
|
270
|
+
- no-cache
|
271
|
+
Server:
|
272
|
+
- Mashery Proxy
|
273
|
+
Set-Cookie:
|
274
|
+
- JSESSIONID=D306D153330DEEFE2BFA0FF7C50469A1.localhost; Path=/
|
275
|
+
- ServerID=1335; Path=/
|
276
|
+
Vary:
|
277
|
+
- User-Agent,Accept-Encoding
|
278
|
+
X-Mashery-Responder:
|
279
|
+
- prod-j-worker-us-east-1b-16.mashery.com
|
280
|
+
Content-Length:
|
281
|
+
- '3783'
|
282
|
+
Connection:
|
283
|
+
- keep-alive
|
284
|
+
body:
|
285
|
+
encoding: US-ASCII
|
286
|
+
string: ! '
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
{"cast":[{"id":"162652763","name":"Tom Cruise","characters":["Ethan Hunt"]},{"id":"162654287","name":"Philip
|
316
|
+
Seymour Hoffman","characters":["Owen Davian"]},{"id":"162693220","name":"Ving
|
317
|
+
Rhames","characters":["Luther Strickell"]},{"id":"162660766","name":"Billy
|
318
|
+
Crudup","characters":["Musgrave"]},{"id":"162654801","name":"Michelle Monaghan","characters":["Julia"]},{"id":"162662253","name":"Jonathan
|
319
|
+
Rhys Meyers","characters":["Declan"]},{"id":"162685092","name":"Keri Russell","characters":["Lindsey
|
320
|
+
Farris"]},{"id":"397331134","name":"Maggie Q","characters":["Zhen"]},{"id":"162669090","name":"Laurence
|
321
|
+
Fishburne","characters":["Theodore Brassel"]},{"id":"162684057","name":"Simon
|
322
|
+
Pegg","characters":["Benji"]},{"id":"326392524","name":"Eddie Marsan","characters":["Brownway"]},{"id":"512428497","name":"Bahar
|
323
|
+
Soomekh","characters":["Davian''s translator"]},{"id":"770738695","name":"Jeff
|
324
|
+
Chase","characters":["Davian''s bodyguard"]},{"id":"770818761","name":"Michael
|
325
|
+
Berry Jr.","characters":["Julia''s Kidnapper"]},{"id":"770703227","name":"Carla
|
326
|
+
Gallo","characters":["Beth"]},{"id":"646866920","name":"Bellamy Young","characters":["Rachael"]},{"id":"770918528","name":"Paul
|
327
|
+
Keeley","characters":["Ken"]},{"id":"770747990","name":"Jane Daly","characters":["Julia''s
|
328
|
+
mother"]},{"id":"364611825","name":"Greg Grunberg","characters":["Kevin"]},{"id":"770782724","name":"Sabra
|
329
|
+
Williams","characters":["Annie"]},{"id":"770733726","name":"Rose Rollins","characters":["Ellie"]},{"id":"770695187","name":"Sasha
|
330
|
+
Alexander","characters":["Melissa"]},{"id":"349219082","name":"Tracy Middendorf","characters":["Ashley"]},{"id":"410145522","name":"Aaron
|
331
|
+
Paul","characters":["Rick"]},{"id":"770775611","name":"Kathryn Fiore","characters":["Party
|
332
|
+
goer"]},{"id":"771027632","name":"Colleen Crozier","characters":["Party goer"]},{"id":"770677077","name":"Sean
|
333
|
+
O''Bryan","characters":["Party goer"]},{"id":"450556548","name":"Bruce French","characters":["Minister"]},{"id":"770849248","name":"Ellen
|
334
|
+
Bry","characters":["Lindsey''s mother"]},{"id":"770942754","name":"Patrick
|
335
|
+
Pankhurst","characters":["Lindsey''s father"]},{"id":"770734685","name":"Tony
|
336
|
+
Guma","characters":["Jim"]},{"id":"770679851","name":"James Shanklin","characters":["Hospital
|
337
|
+
chaplain"]},{"id":"770725975","name":"Anne Betancourt","characters":["Nurse
|
338
|
+
Sally"]},{"id":"771027633","name":"Antonietta De Lorenzo","characters":["Roadblock
|
339
|
+
driver"]},{"id":"771027634","name":"Andrea Sartirettum","characters":["Roadblock
|
340
|
+
driver"]},{"id":"771027635","name":"Antonio Del Prete","characters":["Vatican
|
341
|
+
video room guard"]},{"id":"260682616","name":"Paolo Bonacelli","characters":["Monsignore"]},{"id":"770898338","name":"David
|
342
|
+
Waters","characters":["IMF officer"]},{"id":"770888086","name":"Michael Kehoe","characters":["Hosptial
|
343
|
+
employee"]},{"id":"770905618","name":"Tim Omundson","characters":["IMF agent"]},{"id":"771027636","name":"William
|
344
|
+
Francis McGuire","characters":["IMF head of security"]},{"id":"770782033","name":"Michelle
|
345
|
+
Arthur","characters":["Airline worker"]},{"id":"770694329","name":"Barney
|
346
|
+
Cheng","characters":["Janitor"]},{"id":"162663863","name":"Eileen Atkins","characters":[]},{"id":"162652857","name":"Dougray
|
347
|
+
Scott","characters":[]},{"id":"162708663","name":"Thandie Newton","characters":[]},{"id":"162700157","name":"Justin
|
348
|
+
Kirk","characters":[]},{"id":"312226135","name":"Kelly Brook","characters":[]},{"id":"162652977","name":"Richard
|
349
|
+
Roxburgh","characters":[]},{"id":"162674372","name":"John Polson","characters":[]},{"id":"162652243","name":"Brendan
|
350
|
+
Gleeson","characters":[]},{"id":"162654597","name":"Rade Serbedzija","characters":[]},{"id":"585857257","name":"William
|
351
|
+
Mapother","characters":[]}],"links":{"rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/155654854.json"}}
|
352
|
+
|
353
|
+
'
|
354
|
+
http_version:
|
355
|
+
recorded_at: Thu, 21 Feb 2013 16:52:18 GMT
|
356
|
+
recorded_with: VCR 2.4.0
|