tomato_power 0.0.5 → 0.0.7

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.
Files changed (58) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +22 -13
  3. data/lib/tomato_power/api/api.rb +30 -66
  4. data/lib/tomato_power/api/api_service.rb +115 -0
  5. data/lib/tomato_power/api/tomato_methods.rb +17 -16
  6. data/lib/tomato_power/client.rb +13 -0
  7. data/lib/tomato_power/helpers/helpers.rb +2 -0
  8. data/lib/tomato_power/helpers/parsers.rb +26 -1
  9. data/lib/tomato_power/movie/actor.rb +1 -0
  10. data/lib/tomato_power/movie/clip.rb +1 -0
  11. data/lib/tomato_power/movie/movie.rb +20 -6
  12. data/lib/tomato_power/movie/poster.rb +14 -0
  13. data/lib/tomato_power/movie/review.rb +1 -0
  14. data/lib/tomato_power/version.rb +1 -1
  15. data/lib/tomato_power.rb +7 -0
  16. data/spec/spec_helper.rb +1 -1
  17. data/spec/support/sample_data/sample_posters +6 -0
  18. data/spec/unit_specs/api/api_services_spec.rb +39 -0
  19. data/spec/unit_specs/{api_spec.rb → api/api_spec.rb} +3 -27
  20. data/spec/unit_specs/helpers/helpers.rb +53 -0
  21. data/spec/unit_specs/{parsers_spec.rb → helpers/parsers_spec.rb} +12 -12
  22. data/spec/unit_specs/helpers_spec.rb +0 -2
  23. data/spec/unit_specs/{actor_spec.rb → movie/actor_spec.rb} +1 -1
  24. data/spec/unit_specs/{client_spec.rb → movie/client_spec.rb} +1 -1
  25. data/spec/unit_specs/{clip_spec.rb → movie/clip_spec.rb} +1 -1
  26. data/spec/unit_specs/{movie_spec.rb → movie/movie_spec.rb} +21 -6
  27. data/spec/unit_specs/movie/poster_spec.rb +17 -0
  28. data/spec/unit_specs/{review_spec.rb → movie/review_spec.rb} +2 -2
  29. metadata +26 -74
  30. data/spec/support/vcr/TomatoPower_API/API_Methods/valid_methods/should_create_methods.yml +0 -598
  31. data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_consider_0_options_valid.yml +0 -306
  32. data/spec/support/vcr/TomatoPower_API/API_options_validation/valid_options/should_not_raise_error.yml +0 -101
  33. data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_return_a_list_of_movie_objects.yml +0 -101
  34. data/spec/support/vcr/TomatoPower_API/List_request/searching_by_title/should_url_encode_search_string_before_sending.yml +0 -102
  35. data/spec/support/vcr/TomatoPower_API/List_request/should_return_a_list_of_movie_objects.yml +0 -101
  36. data/spec/support/vcr/TomatoPower_API/List_request/should_url_encode_search_string_before_sending.yml +0 -102
  37. data/spec/support/vcr/TomatoPower_API/Movie_request/cast/should_return_cast_of_movie.yml +0 -356
  38. data/spec/support/vcr/TomatoPower_API/Movie_request/clips/should_return_clips_of_movie.yml +0 -638
  39. data/spec/support/vcr/TomatoPower_API/Movie_request/no_results/should_return_error_string_if_no_results_are_found.yml +0 -49
  40. data/spec/support/vcr/TomatoPower_API/Movie_request/reviews/should_return_reviews.yml +0 -271
  41. data/spec/support/vcr/TomatoPower_API/Movie_request/should_return_single_movie.yml +0 -161
  42. data/spec/support/vcr/TomatoPower_API/Movie_request/similar/should_return_similar_movies.yml +0 -121
  43. data/spec/support/vcr/TomatoPower_Client/box_office_movies/should_return_list_of_movies.yml +0 -396
  44. data/spec/support/vcr/TomatoPower_Client/current_release_dvds/should_return_list_of_movies.yml +0 -427
  45. data/spec/support/vcr/TomatoPower_Client/in_theaters_movies/should_return_list_of_movies.yml +0 -380
  46. data/spec/support/vcr/TomatoPower_Client/new_release_dvds/should_return_list_of_movies.yml +0 -392
  47. data/spec/support/vcr/TomatoPower_Client/opening_movies/should_return_list_of_movies.yml +0 -213
  48. data/spec/support/vcr/TomatoPower_Client/search_by_id/should_return_list_of_movies_by_id.yml +0 -88
  49. data/spec/support/vcr/TomatoPower_Client/search_by_title/should_return_list_of_movies_by_title.yml +0 -89
  50. data/spec/support/vcr/TomatoPower_Client/top_rentals/should_return_list_of_movies.yml +0 -409
  51. data/spec/support/vcr/TomatoPower_Client/upcoming_dvds/should_return_list_of_movies.yml +0 -359
  52. data/spec/support/vcr/TomatoPower_Client/upcoming_movies/should_return_list_of_movies.yml +0 -341
  53. data/spec/support/vcr/TomatoPower_Movie/clips/should_return_clips.yml +0 -250
  54. data/spec/support/vcr/TomatoPower_Movie/full_cast/should_return_cast.yml +0 -279
  55. data/spec/support/vcr/TomatoPower_Movie/reviews/should_return_reviews.yml +0 -205
  56. data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similar_movies.yml +0 -231
  57. data/spec/support/vcr/TomatoPower_Movie/similar/should_return_similars.yml +0 -81
  58. data/spec/unit_specs/helpers.rb +0 -50
@@ -1,306 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.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 15:31:47 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=7F48AA88C60C857290F2B44C42922A74.localhost; Path=/
35
- - ServerID=1335; Path=/
36
- Vary:
37
- - User-Agent,Accept-Encoding
38
- X-Mashery-Responder:
39
- - prod-j-worker-us-east-1c-19.mashery.com
40
- Transfer-Encoding:
41
- - chunked
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
- {"movies":[{"id":"771257607","title":"A Good Day To Die Hard","year":2013,"mpaa_rating":"R","runtime":110,"critics_consensus":"A
78
- Good Day to Die Hard is the weakest entry in a storied franchise, and not
79
- even Bruce Willis'' smirking demeanor can enliven a cliched, uninspired script.","release_dates":{"theater":"2013-02-14"},"ratings":{"critics_rating":"Rotten","critics_score":16,"audience_rating":"Upright","audience_score":82},"synopsis":"John
80
- McClane (Bruce Willis) heads to Russia in this fifth installment of the Die
81
- Hard film series. Skip Woods (The A-Team) provides the script, with Max Payne''s
82
- John Moore directing. ~ Jeremy Wheeler, Rovi","posters":{"thumbnail":"http://content9.flixster.com/movie/11/16/83/11168351_mob.jpg","profile":"http://content9.flixster.com/movie/11/16/83/11168351_pro.jpg","detailed":"http://content9.flixster.com/movie/11/16/83/11168351_det.jpg","original":"http://content9.flixster.com/movie/11/16/83/11168351_ori.jpg"},"abridged_cast":[{"name":"Bruce
83
- Willis","id":"162652509","characters":["John McClane"]},{"name":"Jai Courtney","id":"771383833","characters":["Jack
84
- McClane"]},{"name":"Sebastian Koch","id":"364644078","characters":["Komarov"]},{"name":"Mary
85
- Elizabeth Winstead","id":"341817661","characters":["Lucy"]},{"name":"Yulia
86
- Snigir","id":"771404276","characters":["Irina"]}],"alternate_ids":{"imdb":"1606378"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257607.json","alternate":"http://www.rottentomatoes.com/m/a_good_day_to_die_hard/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257607/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257607/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257607/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771257607/similar.json"}},{"id":"771270981","title":"Identity
87
- Thief","year":2013,"mpaa_rating":"R","runtime":107,"critics_consensus":"Identity
88
- Thief''s few laughs are attributable to Melissa McCarthy and Jason Bateman,
89
- who labor mightily to create a framework for the movie''s undisciplined plotline.","release_dates":{"theater":"2013-02-08"},"ratings":{"critics_rating":"Rotten","critics_score":24,"audience_rating":"Upright","audience_score":74},"synopsis":"Unlimited
90
- funds have allowed Diana (McCarthy) to live it up on the outskirts of Miami,
91
- where the queen of retail buys whatever strikes her fancy. There''s only one
92
- glitch: The ID she''s using to finance these sprees reads \"Sandy Bigelow
93
- Patterson\"....and it belongs to an accounts rep (Bateman) who lives halfway
94
- across the U.S. With only one week to hunt down the con artist before his
95
- world implodes, the real Sandy Bigelow Patterson heads south to confront the
96
- woman with an all-access pass to his life. And as he attempts to bribe, coax
97
- and wrangle her the 2,000 miles to Denver, one easy target will discover just
98
- how tough it is to get your name back. -- (C) Official Site","posters":{"thumbnail":"http://content9.flixster.com/movie/11/16/77/11167739_mob.jpg","profile":"http://content9.flixster.com/movie/11/16/77/11167739_pro.jpg","detailed":"http://content9.flixster.com/movie/11/16/77/11167739_det.jpg","original":"http://content9.flixster.com/movie/11/16/77/11167739_ori.jpg"},"abridged_cast":[{"name":"Jason
99
- Bateman","id":"326298973","characters":["Sandy Patterson"]},{"name":"Genesis
100
- Rodriguez","id":"770770383","characters":["Marisol"]},{"name":"John Cho","id":"300371277","characters":["Daniel
101
- Casey"]},{"name":"Melissa McCarthy","id":"528361348","characters":["Diana"]},{"name":"Jon
102
- Favreau","id":"162655175","characters":["Harold Cornish"]}],"alternate_ids":{"imdb":"2024432"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771270981.json","alternate":"http://www.rottentomatoes.com/m/identity_thief/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771270981/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771270981/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771270981/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771270981/similar.json"}},{"id":"770893918","title":"Safe
103
- Haven","year":2013,"mpaa_rating":"PG-13","runtime":115,"critics_consensus":"Schmaltzy,
104
- predictable, and melodramatic, Safe Haven also suffers from a ludicrous plot
105
- twist, making for a particularly ignominious Nicholas Sparks adaptation.","release_dates":{"theater":"2013-02-14"},"ratings":{"critics_rating":"Rotten","critics_score":12,"audience_rating":"Upright","audience_score":71},"synopsis":"An
106
- affirming and suspenseful story about a young woman''s struggle to love again,
107
- Safe Haven is based on the novel from Nicholas Sparks, the best-selling author
108
- behind the hit films The Notebook and Dear John. When a mysterious young woman
109
- arrives in a small North Carolina town, her reluctance to join the tight knit
110
- community raises questions about her past. Slowly, she begins putting down
111
- roots, and gains the courage to start a relationship with Alex, a widowed
112
- store owner with two young children. But dark secrets intrude on her new life
113
- with such terror that she is forced to rediscover the meaning of sacrifice
114
- and rely on the power of love in this deeply moving romantic thriller.","posters":{"thumbnail":"http://content7.flixster.com/movie/11/16/77/11167789_mob.jpg","profile":"http://content7.flixster.com/movie/11/16/77/11167789_pro.jpg","detailed":"http://content7.flixster.com/movie/11/16/77/11167789_det.jpg","original":"http://content7.flixster.com/movie/11/16/77/11167789_ori.jpg"},"abridged_cast":[{"name":"Josh
115
- Duhamel","id":"162669304","characters":["Alex","Alex Wheatley"]},{"name":"Julianne
116
- Hough","id":"770848071","characters":["Katie","Katie Feldman"]},{"name":"Cobie
117
- Smulders","id":"364659249","characters":["Jo"]},{"name":"David Lyons","id":"770679382","characters":["Kevin
118
- Tierney","Tierney"]},{"name":"Noah Lomax","id":"771104131","characters":["Josh"]}],"alternate_ids":{"imdb":"1702439"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770893918.json","alternate":"http://www.rottentomatoes.com/m/safe_haven/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/770893918/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/770893918/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/770893918/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/770893918/similar.json"}},{"id":"771267600","title":"Escape
119
- From Planet Earth 3D","year":2013,"mpaa_rating":"PG","runtime":89,"release_dates":{"theater":"2013-02-15"},"ratings":{"critics_rating":"Rotten","critics_score":29,"audience_rating":"Upright","audience_score":74},"synopsis":"The
120
- 3D animated family comedy catapults moviegoers to planet Baab where admired
121
- astronaut Scorch Supernova (Brendan Fraser) is a national hero to the blue
122
- alien population. A master of daring rescues, Scorch pulls off astonishing
123
- feats with the quiet aid of his nerdy, by-the-rules brother, Gary (Rob Corddry),
124
- head of mission control at BASA. When BASA''s no-nonsense chief Lena (Jessica
125
- Alba) informs the brothers of an SOS from a notoriously dangerous planet,
126
- Scorch rejects Gary''s warnings and bounds off for yet another exciting mission.
127
- But when Scorch finds himself caught in a fiendish trap set by the evil Shanker
128
- (William Shatner) it''s up to scrawny, risk-adverse Gary to do the real rescuing.
129
- As the interplanetary stakes rise to new heights, Gary is left to save his
130
- brother, his planet, his beloved wife Kira (Sarah Jessica Parker) and their
131
- adventure hungry son Kip. (c) Weinstein","posters":{"thumbnail":"http://content6.flixster.com/movie/11/16/82/11168216_mob.jpg","profile":"http://content6.flixster.com/movie/11/16/82/11168216_pro.jpg","detailed":"http://content6.flixster.com/movie/11/16/82/11168216_det.jpg","original":"http://content6.flixster.com/movie/11/16/82/11168216_ori.jpg"},"abridged_cast":[{"name":"Brendan
132
- Fraser","id":"162662763","characters":["Scorch Supernova"]},{"name":"Rob Corddry","id":"312208850","characters":["Gary","Gary
133
- Supernova"]},{"name":"Ricky Gervais","id":"378620549","characters":["Mr. James
134
- Bing"]},{"name":"Jonathan Morgan Heit","id":"770825935","characters":["Kip
135
- Supernova"]},{"name":"Jessica Alba","id":"162652782","characters":["Lena","Lena
136
- Thackleman"]}],"alternate_ids":{"imdb":"0765446"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771267600.json","alternate":"http://www.rottentomatoes.com/m/escape_from_planet_earth_3d/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771267600/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771267600/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771267600/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771267600/similar.json"}},{"id":"771238285","title":"Warm
137
- Bodies","year":2013,"mpaa_rating":"PG-13","runtime":97,"critics_consensus":"Warm
138
- Bodies offers a sweet, well-acted spin on a genre that all too often lives
139
- down to its brain-dead protagonists.","release_dates":{"theater":"2013-02-01"},"ratings":{"critics_rating":"Certified
140
- Fresh","critics_score":78,"audience_rating":"Upright","audience_score":82},"synopsis":"A
141
- funny new twist on a classic love story, WARM BODIES is a poignant tale about
142
- the power of human connection. After a zombie epidemic, R (a highly unusual
143
- zombie) encounters Julie (a human survivor), and rescues her from a zombie
144
- attack. Julie sees that R is different from the other zombies, and as the
145
- two form a special relationship in their struggle for survival, R becomes
146
- increasingly more human - setting off an exciting, romantic, and often comical
147
- chain of events that begins to transform the other zombies and maybe even
148
- the whole lifeless world. (c) Summit","posters":{"thumbnail":"http://content9.flixster.com/movie/11/16/91/11169191_mob.jpg","profile":"http://content9.flixster.com/movie/11/16/91/11169191_pro.jpg","detailed":"http://content9.flixster.com/movie/11/16/91/11169191_det.jpg","original":"http://content9.flixster.com/movie/11/16/91/11169191_ori.jpg"},"abridged_cast":[{"name":"Nicholas
149
- Hoult","id":"162654938","characters":["R"]},{"name":"Teresa Palmer","id":"347990464","characters":["Julie"]},{"name":"Rob
150
- Corddry","id":"312208850","characters":["M"]},{"name":"John Malkovich","id":"162655610","characters":["General
151
- Grigio","Grigio"]},{"name":"Dave Franco","id":"770703179","characters":["Perry","Perry
152
- Kelvin"]}],"alternate_ids":{"imdb":"1588173"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771238285.json","alternate":"http://www.rottentomatoes.com/m/warm_bodies/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771238285/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771238285/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771238285/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771238285/similar.json"}},{"id":"771269779","title":"Beautiful
153
- Creatures","year":2013,"mpaa_rating":"PG-13","runtime":118,"critics_consensus":"Charming
154
- romantic leads and esteemed supporting cast aside, Beautiful Creatures is
155
- a plodding YA novel adaptation that feels watered down for the Twilight set.","release_dates":{"theater":"2013-02-14"},"ratings":{"critics_rating":"Rotten","critics_score":45,"audience_rating":"Upright","audience_score":74},"synopsis":"A
156
- supernatural love story set in the South, \"Beautiful Creatures\" tells the
157
- tale of two star-crossed lovers: Ethan (Alden Ehrenreich), a young man longing
158
- to escape his small town, and Lena (Alice Englert), a mysterious new girl.
159
- Together, they uncover dark secrets about their respective families, their
160
- history and their town. (c) WB","posters":{"thumbnail":"http://content6.flixster.com/movie/11/16/77/11167744_mob.jpg","profile":"http://content6.flixster.com/movie/11/16/77/11167744_pro.jpg","detailed":"http://content6.flixster.com/movie/11/16/77/11167744_det.jpg","original":"http://content6.flixster.com/movie/11/16/77/11167744_ori.jpg"},"abridged_cast":[{"name":"Alden
161
- Ehrenreich","id":"770833120","characters":["Ethan Wate"]},{"name":"Alice Englert","id":"770904089","characters":["Lena
162
- Duchannes"]},{"name":"Jeremy Irons","id":"162652244","characters":["Macon
163
- Ravenwood"]},{"name":"Viola Davis","id":"162655119","characters":["Amma"]},{"name":"Emmy
164
- Rossum","id":"162659103","characters":["Ridley"]}],"alternate_ids":{"imdb":"1559547"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771269779.json","alternate":"http://www.rottentomatoes.com/m/beautiful_creatures_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771269779/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771269779/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771269779/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771269779/similar.json"}},{"id":"771305509","title":"Side
165
- Effects","year":2013,"mpaa_rating":"R","runtime":106,"critics_consensus":"A
166
- smart, clever thriller with plenty of disquieting twists, Side Effects is
167
- yet another assured effort from director Steven Soderbergh.","release_dates":{"theater":"2013-02-08"},"ratings":{"critics_rating":"Certified
168
- Fresh","critics_score":85,"audience_rating":"Upright","audience_score":70},"synopsis":"SIDE
169
- EFFECTS is a provocative thriller about Emily and Martin (Rooney Mara and
170
- Channing Tatum), a successful New York couple whose world unravels when a
171
- new drug prescribed by Emily''s psychiatrist (Jude Law) - intended to treat
172
- anxiety - has unexpected side effects. (c) Official FB","posters":{"thumbnail":"http://content7.flixster.com/movie/11/16/82/11168221_mob.jpg","profile":"http://content7.flixster.com/movie/11/16/82/11168221_pro.jpg","detailed":"http://content7.flixster.com/movie/11/16/82/11168221_det.jpg","original":"http://content7.flixster.com/movie/11/16/82/11168221_ori.jpg"},"abridged_cast":[{"name":"Rooney
173
- Mara","id":"770826640","characters":["Emily Taylor"]},{"name":"Channing Tatum","id":"162661835","characters":["Martin
174
- Taylor"]},{"name":"Jude Law","id":"162659420","characters":["Dr. Jonathan
175
- Banks"]},{"name":"Catherine Zeta-Jones","id":"162654886","characters":["Dr.
176
- Victoria Siebert"]},{"name":"Vinessa Shaw","id":"364606823","characters":["Dierdre
177
- Banks"]}],"alternate_ids":{"imdb":"2053463"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305509.json","alternate":"http://www.rottentomatoes.com/m/side_effects_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305509/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305509/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305509/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305509/similar.json"}},{"id":"771253886","title":"Silver
178
- Linings Playbook","year":2012,"mpaa_rating":"R","runtime":120,"critics_consensus":"Silver
179
- Linings Playbook walks a tricky thematic tightrope, but David O. Russell''s
180
- sensitive direction and some sharp work from a talented cast gives it true
181
- balance.","release_dates":{"theater":"2012-11-21"},"ratings":{"critics_rating":"Certified
182
- Fresh","critics_score":92,"audience_rating":"Upright","audience_score":89},"synopsis":"Life
183
- doesn''t always go according to plan. Pat Solatano (Bradley Cooper) has lost
184
- everything -- his house, his job, and his wife. He now finds himself living
185
- back with his mother (Jacki Weaver) and father (Robert DeNiro) after spending
186
- eight months is a state institution on a plea bargain. Pat is determined to
187
- rebuild his life, remain positive and reunite with his wife, despite the challenging
188
- circumstances of their separation. All Pat''s parents want is for him to get
189
- back on his feet-and to share their family''s obsession with the Philadelphia
190
- Eagles football team. When Pat meets Tiffany (Jennifer Lawrence), a mysterious
191
- girl with problems of her own, things get complicated. Tiffany offers to help
192
- Pat reconnect with his wife, but only if he''ll do something very important
193
- for her in return. As their deal plays out, an unexpected bond begins to form
194
- between them, and silver linings appear in both of their lives. -- (C) Weinstein","posters":{"thumbnail":"http://content6.flixster.com/movie/11/16/65/11166572_mob.jpg","profile":"http://content6.flixster.com/movie/11/16/65/11166572_pro.jpg","detailed":"http://content6.flixster.com/movie/11/16/65/11166572_det.jpg","original":"http://content6.flixster.com/movie/11/16/65/11166572_ori.jpg"},"abridged_cast":[{"name":"Bradley
195
- Cooper","id":"351525448","characters":["Pat","Pat Solitano"]},{"name":"Jennifer
196
- Lawrence","id":"770800260","characters":["Tiffany"]},{"name":"Robert De Niro","id":"162655521","characters":["Pat
197
- Sr."]},{"name":"Jacki Weaver","id":"651402543","characters":["Delores","Dolores"]},{"name":"Chris
198
- Tucker","id":"162661014","characters":["Danny"]}],"alternate_ids":{"imdb":"1045658"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771253886.json","alternate":"http://www.rottentomatoes.com/m/silver_linings_playbook/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771253886/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771253886/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771253886/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771253886/similar.json"}},{"id":"771225176","title":"Hansel
199
- and Gretel: Witch Hunters","year":2013,"mpaa_rating":"R","runtime":100,"critics_consensus":"Alternately
200
- bloody and silly, Hansel and Gretel: Witch Hunters fails as both a fantasy
201
- adventure and as a parody of same.","release_dates":{"theater":"2013-01-25"},"ratings":{"critics_rating":"Rotten","critics_score":15,"audience_rating":"Upright","audience_score":63},"synopsis":"After
202
- getting a taste for blood as children, Hansel (Jeremy Renner) and Gretel (Gemma
203
- Arterton) have become the ultimate vigilantes, hell bent on retribution. Now,
204
- unbeknownst to them, Hansel and Gretel have become the hunted, and must face
205
- an evil far greater than witches...their past. -- (C) Paramount","posters":{"thumbnail":"http://content7.flixster.com/movie/11/16/75/11167557_mob.jpg","profile":"http://content7.flixster.com/movie/11/16/75/11167557_pro.jpg","detailed":"http://content7.flixster.com/movie/11/16/75/11167557_det.jpg","original":"http://content7.flixster.com/movie/11/16/75/11167557_ori.jpg"},"abridged_cast":[{"name":"Jeremy
206
- Renner","id":"309973652","characters":["Hansel"]},{"name":"Gemma Arterton","id":"770692644","characters":["Gretel"]},{"name":"Famke
207
- Janssen","id":"162669246","characters":["Muriel"]},{"name":"Peter Stormare","id":"162725032","characters":["Berringer"]},{"name":"Ingrid
208
- Bolso Berdal","id":"573772010","characters":["Horned Witch"]}],"alternate_ids":{"imdb":"1428538"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771225176.json","alternate":"http://www.rottentomatoes.com/m/hansel_and_gretel_witch_hunters/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771225176/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771225176/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771225176/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771225176/similar.json"}},{"id":"771249562","title":"Zero
209
- Dark Thirty","year":2012,"mpaa_rating":"R","runtime":157,"critics_consensus":"Gripping,
210
- suspenseful, and brilliantly crafted, Zero Dark Thirty dramatizes the hunt
211
- for Osama bin Laden with intelligence and an eye for detail.","release_dates":{"theater":"2013-01-11","dvd":"2013-03-19"},"ratings":{"critics_rating":"Certified
212
- Fresh","critics_score":94,"audience_rating":"Upright","audience_score":82},"synopsis":"For
213
- a decade, an elite team of intelligence and military operatives, working in
214
- secret across the globe, devoted themselves to a single goal: to find and
215
- eliminate Osama bin Laden. Zero Dark Thirty reunites the Oscar winning team
216
- of director-producer Kathryn Bigelow and writer-producer Mark Boal (The Hurt
217
- Locker) for the story of history''s greatest manhunt for the world''s most
218
- dangerous man. -- (C) Official Site","posters":{"thumbnail":"http://content7.flixster.com/movie/11/16/75/11167541_mob.jpg","profile":"http://content7.flixster.com/movie/11/16/75/11167541_pro.jpg","detailed":"http://content7.flixster.com/movie/11/16/75/11167541_det.jpg","original":"http://content7.flixster.com/movie/11/16/75/11167541_ori.jpg"},"abridged_cast":[{"name":"Joel
219
- Edgerton","id":"162733204","characters":["Patrick - Squadron Team Leader"]},{"name":"Jason
220
- Clarke","id":"359854726","characters":["Dan"]},{"name":"Jessica Chastain","id":"770760183","characters":["Maya"]},{"name":"Kyle
221
- Chandler","id":"770695318","characters":["Joseph Bradley"]},{"name":"Jennifer
222
- Ehle","id":"162924763","characters":["Jessica"]}],"alternate_ids":{"imdb":"1790885"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249562.json","alternate":"http://www.rottentomatoes.com/m/zero_dark_thirty/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249562/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249562/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249562/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249562/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.json?limit=10&country=us","alternate":"http://www.rottentomatoes.com/movie/box-office/"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.json?limit={num-results}&country={country-code}"}
223
-
224
- '
225
- http_version:
226
- recorded_at: Wed, 20 Feb 2013 15:31:48 GMT
227
- - request:
228
- method: get
229
- uri: http://api.rottentomatoes.com/api/public/v1.0/movies.json?apikey=<API_KEY>
230
- body:
231
- encoding: US-ASCII
232
- string: ''
233
- headers:
234
- Accept:
235
- - ! '*/*'
236
- User-Agent:
237
- - Ruby
238
- response:
239
- status:
240
- code: 200
241
- message: OK
242
- headers:
243
- Cache-Control:
244
- - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
245
- Content-Language:
246
- - en-US
247
- Content-Type:
248
- - text/javascript;charset=ISO-8859-1
249
- Date:
250
- - Wed, 20 Feb 2013 15:31:48 GMT
251
- Expires:
252
- - Sat, 6 May 1995 12:00:00 GMT
253
- Pragma:
254
- - no-cache
255
- Server:
256
- - Mashery Proxy
257
- Set-Cookie:
258
- - JSESSIONID=0CE117A45B4236DF4271110E7AB046BB.localhost; Path=/
259
- - ServerID=1335; Path=/
260
- Vary:
261
- - User-Agent,Accept-Encoding
262
- X-Mashery-Responder:
263
- - prod-j-worker-us-east-1b-16.mashery.com
264
- Content-Length:
265
- - '173'
266
- Connection:
267
- - keep-alive
268
- body:
269
- encoding: US-ASCII
270
- string: ! '
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
- {"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
302
-
303
- '
304
- http_version:
305
- recorded_at: Wed, 20 Feb 2013 15:31:48 GMT
306
- recorded_with: VCR 2.4.0
@@ -1,101 +0,0 @@
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=1&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:47 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=82997F009FC1FBAD21C5320EFD5E3003.localhost; Path=/
35
- - ServerID=1335; Path=/
36
- Vary:
37
- - User-Agent,Accept-Encoding
38
- X-Mashery-Responder:
39
- - prod-j-worker-us-east-1c-19.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:47 GMT
101
- recorded_with: VCR 2.4.0
@@ -1,101 +0,0 @@
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
- - 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=76A68482A273DEC82C3FB677FE458027.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
- - '4083'
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","characters":["Isabelle"]},{"name":"Ewan
87
- McGregor","id":"162652152","characters":["Elmont"]},{"name":"Stanley Tucci","id":"162661152","characters":["Roderick"]},{"name":"Eddie
88
- Marsan","id":"326392524","characters":["Crawe"]}],"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: Thu, 21 Feb 2013 19:09:07 GMT
101
- recorded_with: VCR 2.4.0