worth_watching 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ module WorthWatching
7
7
  :release_date, :poster, :rt_id, :imdb_id, :reviews
8
8
 
9
9
  def initialize(movie_params)
10
+
10
11
  @title = movie_params['title']
11
12
  @plot = movie_params['synopsis']
12
13
  @director = movie_params['abridged_directors'][0]['name']
@@ -17,12 +18,30 @@ module WorthWatching
17
18
  @imdb_id = movie_params['alternate_ids']['imdb']
18
19
  @imdb_url = "http://www.imdb.com/title/tt#{imdb_id}/"
19
20
  @release_date = Date.parse(movie_params['release_dates']['theater'])
20
- @rt_id = movie_params['id']
21
+ @rt_id = movie_params['id'].to_s
22
+
23
+ @imdb_rating = "Not retrieved"
24
+ @metacritic_rating = "Not retrieved"
25
+ end
26
+
27
+ # Returns a summary of the movie based on its attributes
28
+ #
29
+ # @return [String] the summary
30
+ def summary
31
+ divider = "-" * 60
32
+ "#{@title}\n#{divider}\nReleased: #{@release_date.strftime("%d %b %Y")}\n#{divider}\n#{plot}\n#{divider}\nCast: #{@cast}\n#{divider}\n#{rating_summary}"
33
+ end
34
+
35
+ def rating_summary
36
+ "Rotten Tomatoes rating: #{rt_rating}\nIMDB rating: #{imdb_rating}\nMetacritic rating: #{metacritic_rating}\n"
21
37
  end
22
38
 
23
39
  private
24
40
 
25
41
  # Builds a cast list string from an array of actor names (up to 4 actors)
42
+ #
43
+ # @param cast [Array] the array of actor names
44
+ # @return [String] a string of actor names separated by commas
26
45
  def build_cast_list(cast)
27
46
  cast_list = cast[0..3].inject("") do |cast_list_string, actor, i|
28
47
  cast_list_string << "#{actor["name"]}, "
@@ -1,3 +1,3 @@
1
1
  module WorthWatching
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -2,7 +2,7 @@ require 'date'
2
2
 
3
3
  module WorthWatching
4
4
  class WrittenReview
5
- attr_accessor :author, :date, :rating, :source, :quote, :link
5
+ attr_accessor :author, :date, :rating, :source, :quote, :link, :original_score
6
6
 
7
7
  def initialize(review_hash)
8
8
  @author = review_hash["critic"]
@@ -11,15 +11,22 @@ module WorthWatching
11
11
  @source = review_hash["publication"]
12
12
  @quote = review_hash["quote"]
13
13
  @link = review_hash["links"]["review"]
14
+ @original_score = review_hash["original_score"] || "N/A"
14
15
  end
15
16
 
16
17
  def to_s
17
- "#{author} wrote on #{date} : #{quote}"
18
+ "#{author} wrote on #{date} : #{quote}\nRating: #{@original_score}"
18
19
  end
19
20
 
20
21
  def to_hash
21
- hash = {author: author, date: date, rating: rating, source: source,
22
- quote: quote, link: link}
22
+ { author: @author,
23
+ date: @date,
24
+ rating: @rating,
25
+ source: @source,
26
+ quote: @quote,
27
+ link: @link,
28
+ original_score: @original_score
29
+ }
23
30
  end
24
31
  end
25
- end
32
+ end
@@ -0,0 +1 @@
1
+ {"total":0,"movies":[],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=amoveithatdoesnotexist&page_limit=3&page=1"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
@@ -0,0 +1 @@
1
+ {"total":1,"movies":[{"id":"9377","title":"Finding Nemo","year":2003,"mpaa_rating":"G","runtime":100,"critics_consensus":"Breathtaking animation, talented vocal work, and a well-written screenplay add up to another Pixar success.","release_dates":{"theater":"2003-05-30","dvd":"2013-05-07"},"ratings":{"critics_rating":"Certified Fresh","critics_score":99,"audience_rating":"Upright","audience_score":86},"synopsis":"","posters":{"thumbnail":"http://content6.flixster.com/movie/10/84/19/10841916_mob.jpg","profile":"http://content6.flixster.com/movie/10/84/19/10841916_pro.jpg","detailed":"http://content6.flixster.com/movie/10/84/19/10841916_det.jpg","original":"http://content6.flixster.com/movie/10/84/19/10841916_ori.jpg"},"abridged_cast":[{"name":"Albert Brooks","id":"162655677","characters":["Marlin"]},{"name":"Ellen DeGeneres","id":"162655678","characters":["Dory"]},{"name":"Alexander Gould","id":"162655679","characters":["Nemo the Clownfish"]},{"name":"Willem Dafoe","id":"162668400","characters":["Gill"]},{"name":"Brad Garrett","id":"326395229","characters":["Bloat"]}],"alternate_ids":{"imdb":"0266543"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/9377.json","alternate":"http://www.rottentomatoes.com/m/finding_nemo/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/9377/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/9377/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/9377/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/9377/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=finding+nemo&page_limit=1&page=1"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
@@ -0,0 +1 @@
1
+ {"total":3,"movies":[{"id":"770672122","title":"Toy Story 3","year":2010,"mpaa_rating":"G","runtime":103,"critics_consensus":"Deftly blending comedy, adventure, and honest emotion, Toy Story 3 is a rare second sequel that really works.","release_dates":{"theater":"2010-06-18","dvd":"2010-11-02"},"ratings":{"critics_rating":"Certified Fresh","critics_score":99,"audience_rating":"Upright","audience_score":89},"synopsis":"Pixar returns to their first success with Toy Story 3. The movie begins with Andy leaving for college and donating his beloved toys -- including Woody (Tom Hanks) and Buzz (Tim Allen) -- to a daycare. While the crew meets new friends, including Ken (Michael Keaton), they soon grow to hate their new surroundings and plan an escape. The film was directed by Lee Unkrich from a script co-authored by Little Miss Sunshine scribe Michael Arndt. ~ Perry Seibert, Rovi","posters":{"thumbnail":"http://content6.flixster.com/movie/11/13/43/11134356_mob.jpg","profile":"http://content6.flixster.com/movie/11/13/43/11134356_pro.jpg","detailed":"http://content6.flixster.com/movie/11/13/43/11134356_det.jpg","original":"http://content6.flixster.com/movie/11/13/43/11134356_ori.jpg"},"abridged_cast":[{"name":"Tom Hanks","id":"162655641","characters":["Woody"]},{"name":"Tim Allen","id":"162655909","characters":["Buzz Lightyear"]},{"name":"Joan Cusack","id":"162655020","characters":["Jessie the Cowgirl"]},{"name":"Ned Beatty","id":"162672460","characters":["Lots-o'-Huggin' Bear","Lotso"]},{"name":"Don Rickles","id":"341817905","characters":["Mr. Potato Head"]}],"alternate_ids":{"imdb":"0435761"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122.json","alternate":"http://www.rottentomatoes.com/m/toy_story_3/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122/similar.json"}},{"id":"9414","title":"Toy Story 2","year":1999,"mpaa_rating":"G","runtime":92,"critics_consensus":"Toy Story 2 employs inventive storytelling, gorgeous animation, and a top notch voice cast to deliver another rich moviegoing experience for all ages, one that's arguably even better than its predecessor.","release_dates":{"theater":"1999-11-24","dvd":"2000-10-17"},"ratings":{"critics_rating":"Certified Fresh","critics_score":100,"audience_rating":"Upright","audience_score":85},"synopsis":"","posters":{"thumbnail":"http://content6.flixster.com/movie/10/93/63/10936392_mob.jpg","profile":"http://content6.flixster.com/movie/10/93/63/10936392_pro.jpg","detailed":"http://content6.flixster.com/movie/10/93/63/10936392_det.jpg","original":"http://content6.flixster.com/movie/10/93/63/10936392_ori.jpg"},"abridged_cast":[{"name":"Tom Hanks","id":"162655641","characters":["Woody"]},{"name":"Tim Allen","id":"162655909","characters":["Buzz Lightyear"]},{"name":"Joan Cusack","id":"162655020","characters":["Jessie the Cowgirl"]},{"name":"Kelsey Grammer","id":"162660300","characters":["Stinky Pete the Prospector"]},{"name":"Don Rickles","id":"341817905","characters":["Mr. Potato Head"]}],"alternate_ids":{"imdb":"0120363"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/9414.json","alternate":"http://www.rottentomatoes.com/m/toy_story_2/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/9414/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/9414/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/9414/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/9414/similar.json"}},{"id":"9559","title":"Toy Story","year":1995,"mpaa_rating":"G","runtime":80,"critics_consensus":"As entertaining as it is innovative, Toy Story kicked off Pixar's unprecedented run of quality pictures, reinvigorating animated film in the process.","release_dates":{"theater":"1995-11-22","dvd":"2001-03-20"},"ratings":{"critics_rating":"Certified Fresh","critics_score":100,"audience_rating":"Upright","audience_score":92},"synopsis":"","posters":{"thumbnail":"http://content7.flixster.com/movie/10/93/63/10936393_mob.jpg","profile":"http://content7.flixster.com/movie/10/93/63/10936393_pro.jpg","detailed":"http://content7.flixster.com/movie/10/93/63/10936393_det.jpg","original":"http://content7.flixster.com/movie/10/93/63/10936393_ori.jpg"},"abridged_cast":[{"name":"Tom Hanks","id":"162655641","characters":["Woody"]},{"name":"Tim Allen","id":"162655909","characters":["Buzz Lightyear"]},{"name":"Don Rickles","id":"341817905","characters":["Mr. Potato Head"]},{"name":"Jim Varney","id":"162662792","characters":["Slinky Dog"]},{"name":"Wallace Shawn","id":"162671862","characters":["Rex"]}],"alternate_ids":{"imdb":"0114709"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/9559.json","alternate":"http://www.rottentomatoes.com/m/toy_story/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/9559/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/9559/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/9559/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/9559/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=toy%25story&page_limit=3&page=1"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}"}
@@ -1,35 +1,2 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
1
  {"movies":[{"id":"771250004","title":"The Hunger Games: Catching Fire","year":2013,"mpaa_rating":"PG-13","runtime":146,"critics_consensus":"Smart, smoothly directed, and enriched with a deeper exploration of the franchise's thought-provoking themes, Catching Fire proves a thoroughly compelling second installment in the Hunger Games series.","release_dates":{"theater":"2013-11-22","dvd":"2014-03-07"},"ratings":{"critics_rating":"Certified Fresh","critics_score":89,"audience_rating":"Upright","audience_score":91},"synopsis":"THE HUNGER GAMES: CATCHING FIRE begins as Katniss Everdeen has returned home safe after winning the 74th Annual Hunger Games along with fellow tribute Peeta Mellark. Winning means that they must turn around and leave their family and close friends, embarking on a \"Victor's Tour\" of the districts. Along the way Katniss senses that a rebellion is simmering, but the Capitol is still very much in control as President Snow prepares the 75th Annual Hunger Games (The Quarter Quell) - a competition that could change Panem forever. (c) Lionsgate","posters":{"thumbnail":"http://content6.flixster.com/movie/11/17/64/11176484_mob.jpg","profile":"http://content6.flixster.com/movie/11/17/64/11176484_pro.jpg","detailed":"http://content6.flixster.com/movie/11/17/64/11176484_det.jpg","original":"http://content6.flixster.com/movie/11/17/64/11176484_ori.jpg"},"abridged_cast":[{"name":"Jennifer Lawrence","id":"770800260","characters":["Katniss Everdeen"]},{"name":"Josh Hutcherson","id":"162654356","characters":["Peeta Mellark"]},{"name":"Liam Hemsworth","id":"770833479","characters":["Gale Hawthorne"]},{"name":"Elizabeth Banks","id":"162653584","characters":["Effie Trinket"]},{"name":"Stanley Tucci","id":"162661152","characters":["Caesar Flickerman"]}],"alternate_ids":{"imdb":"1951264"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771250004.json","alternate":"http://www.rottentomatoes.com/m/the_hunger_games_catching_fire/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771250004/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771250004/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771250004/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771250004/similar.json"}},{"id":"771247277","title":"Thor: The Dark World","year":2013,"mpaa_rating":"PG-13","runtime":112,"critics_consensus":"It may not be the finest film to come from the Marvel Universe, but Thor: The Dark World still offers plenty of the humor and high-stakes action that fans have come to expect.","release_dates":{"theater":"2013-11-08","dvd":"2014-02-25"},"ratings":{"critics_rating":"Fresh","critics_score":65,"audience_rating":"Upright","audience_score":80},"synopsis":"Marvel's \"Thor: The Dark World\" continues the big-screen adventures of Thor, the Mighty Avenger, as he battles to save Earth and all the Nine Realms from a shadowy enemy that predates the universe itself. In the aftermath of Marvel's \"Thor\" and \"Marvel's The Avengers,\" Thor fights to restore order across the cosmos...but an ancient race led by the vengeful Malekith returns to plunge the universe back into darkness. Faced with an enemy that even Odin and Asgard cannot withstand, Thor must embark on his most perilous and personal journey yet, one that will reunite him with Jane Foster and force him to sacrifice everything to save us all. (c) Disney","posters":{"thumbnail":"http://content8.flixster.com/movie/11/17/26/11172694_mob.jpg","profile":"http://content8.flixster.com/movie/11/17/26/11172694_pro.jpg","detailed":"http://content8.flixster.com/movie/11/17/26/11172694_det.jpg","original":"http://content8.flixster.com/movie/11/17/26/11172694_ori.jpg"},"abridged_cast":[{"name":"Chris Hemsworth","id":"770829335","characters":["Thor"]},{"name":"Natalie Portman","id":"162652154","characters":["Jane Foster"]},{"name":"Tom Hiddleston","id":"770837993","characters":["Loki"]},{"name":"Stellan Skarsgard","id":"162684205","characters":["Dr. Erik Selvig"]},{"name":"Idris Elba","id":"162654425","characters":["Heimdall"]}],"alternate_ids":{"imdb":"1981115"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771247277.json","alternate":"http://www.rottentomatoes.com/m/thor_the_dark_world/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771247277/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771247277/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771247277/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771247277/similar.json"}},{"id":"771271679","title":"Cloudy with a Chance of Meatballs 2","year":2013,"mpaa_rating":"PG","runtime":95,"critics_consensus":"While not as clever or inventive as its predecessor, Cloudy with a Chance of Meatballs 2 compensates with enough dazzling visuals to keep younger viewers entertained.","release_dates":{"theater":"2013-09-27","dvd":"2014-01-28"},"ratings":{"critics_rating":"Fresh","critics_score":70,"audience_rating":"Upright","audience_score":66},"synopsis":"Cloudy with a Chance of Meatballs 2 picks up where Sony Pictures Animation's hit comedy left off. Inventor Flint Lockwood's genius is finally being recognized as he's invited by his idol Chester V to join The Live Corp Company, where the best and brightest inventors in the world create technologies for the betterment of mankind. Chester's right-hand-gal - and one of his greatest inventions - is Barb (a highly evolved orangutan with a human brain, who is also devious, manipulative and likes to wear lipstick). It's always been Flint's dream to be recognized as a great inventor, but everything changes when he discovers that his most infamous machine (which turns water into food) is still operating and is now creating food-animal hybrids - \"foodimals!\" With the fate of humanity in his hands, Chester sends Flint and his friends on a dangerously delicious mission, battling hungry tacodiles, shrimpanzees, apple pie-thons, double bacon cheespiders and other food creatures to save the world again!","posters":{"thumbnail":"http://content8.flixster.com/movie/11/17/58/11175894_mob.jpg","profile":"http://content8.flixster.com/movie/11/17/58/11175894_pro.jpg","detailed":"http://content8.flixster.com/movie/11/17/58/11175894_det.jpg","original":"http://content8.flixster.com/movie/11/17/58/11175894_ori.jpg"},"abridged_cast":[{"name":"Bill Hader","id":"742790769","characters":["Flint Lockwood"]},{"name":"Anna Faris","id":"162654477","characters":["Sam Sparks"]},{"name":"James Caan","id":"162656402","characters":["Tim Lockwood"]},{"name":"Will Forte","id":"770670480","characters":["Chester V"]},{"name":"Kristen Schaal","id":"770792145","characters":["Barb"]}],"alternate_ids":{"imdb":"1985966"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771271679.json","alternate":"http://www.rottentomatoes.com/m/cloudy_with_a_chance_of_meatballs_2_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771271679/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771271679/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771271679/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771271679/similar.json"}},{"id":"771264988","title":"Captain Phillips","year":2013,"mpaa_rating":"PG-13","runtime":134,"critics_consensus":"Smart, powerfully acted, and incredibly intense, Captain Phillips offers filmgoers a Hollywood biopic done right -- and offers Tom Hanks a showcase for yet another brilliant performance.","release_dates":{"theater":"2013-10-11","dvd":"2014-01-21"},"ratings":{"critics_rating":"Certified Fresh","critics_score":93,"audience_rating":"Upright","audience_score":90},"synopsis":"Captain Phillips is a multi-layered examination of the 2009 hijacking of the U.S. container ship Maersk Alabama by a crew of Somali pirates. It is - through director Paul Greengrass's distinctive lens - simultaneously a pulse-pounding thriller, and a complex portrait of the myriad effects of globalization. The film focuses on the relationship between the Alabama's commanding officer, Captain Richard Phillips (two time Academy Award (R)-winner Tom Hanks), and the Somali pirate captain, Muse (Barkhad Abdi), who takes him hostage. Phillips and Muse are set on an unstoppable collision course when Muse and his crew target Phillips' unarmed ship; in the ensuing standoff, 145 miles off the Somali coast, both men will find themselves at the mercy of forces beyond their control. The film is directed by Academy Award (R) nominee Paul Greengrass, from a screenplay by Billy Ray based upon the book, A Captain's Duty: Somali Pirates, Navy SEALs, and Dangerous Days at Sea, by Richard Phillips with Stephan Talty. The film is produced by Scott Rudin, Dana Brunetti, and Michael De Luca.(c) Sony","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/57/11175791_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/57/11175791_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/57/11175791_det.jpg","original":"http://content9.flixster.com/movie/11/17/57/11175791_ori.jpg"},"abridged_cast":[{"name":"Tom Hanks","id":"162655641","characters":["Captain Richard Phillips"]},{"name":"Barkhad Abdi","id":"771454315","characters":["Muse"]},{"name":"Catherine Keener","id":"162652281","characters":["Andrea Phillips"]},{"name":"Michael Chernus","id":"770687873","characters":["Shane Murphy"]},{"name":"Corey Johnson","id":"162653705","characters":["Ken Quinn"]}],"alternate_ids":{"imdb":"1535109"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771264988.json","alternate":"http://www.rottentomatoes.com/m/captain_phillips/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771264988/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771264988/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771264988/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771264988/similar.json"}},{"id":"771305747","title":"42","year":2013,"mpaa_rating":"PG-13","runtime":128,"critics_consensus":"42 is an earnest, inspirational, and respectfully told biography of an influential American sports icon, though it might be a little too safe and old-fashioned for some.","release_dates":{"theater":"2013-04-12","dvd":"2013-07-16"},"ratings":{"critics_rating":"Certified Fresh","critics_score":78,"audience_rating":"Upright","audience_score":86},"synopsis":"Hero is a word we hear often in sports, but heroism is not always about achievements on the field of play. \"42\" tells the story of two men-the great Jackie Robinson and legendary Brooklyn Dodgers GM Branch Rickey-whose brave stand against prejudice forever changed the world by changing the game of baseball. In 1946, Branch Rickey (Harrison Ford) put himself at the forefront of history when he signed Jackie Robinson (Chadwick Boseman) to the team, breaking Major League Baseball's infamous color line. But the deal also put both Robinson and Rickey in the firing line of the public, the press and even other players. Facing unabashed racism from every side, Robinson was forced to demonstrate tremendous courage and restraint by not reacting in kind, knowing that any incident could destroy his and Rickey's hopes. Instead, Number 42 let his talent on the field do the talking-ultimately winning over fans and his teammates, silencing his critics, and paving the way for others to follow. (c) WB","posters":{"thumbnail":"http://content8.flixster.com/movie/11/17/18/11171806_mob.jpg","profile":"http://content8.flixster.com/movie/11/17/18/11171806_pro.jpg","detailed":"http://content8.flixster.com/movie/11/17/18/11171806_det.jpg","original":"http://content8.flixster.com/movie/11/17/18/11171806_ori.jpg"},"abridged_cast":[{"name":"Chadwick Boseman","id":"771363198","characters":["Jackie Robinson"]},{"name":"Harrison Ford","id":"162661579","characters":["Branch Rickey"]},{"name":"Nicole Beharie","id":"770829550","characters":["Rachel Robinson"]},{"name":"Christopher Meloni","id":"359855102","characters":["Leo Durocher"]},{"name":"Ryan Merriman","id":"162675132","characters":["Dixie Walker"]}],"alternate_ids":{"imdb":"0453562"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305747.json","alternate":"http://www.rottentomatoes.com/m/42_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305747/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305747/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305747/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305747/similar.json"}},{"id":"771307102","title":"White House Down","year":2013,"mpaa_rating":"PG-13","runtime":137,"critics_consensus":"White House Down benefits from the leads' chemistry, but director Roland Emmerich smothers the film with narrative cliches and choppily edited action.","release_dates":{"theater":"2013-06-28","dvd":"2013-11-05"},"ratings":{"critics_rating":"Rotten","critics_score":50,"audience_rating":"Upright","audience_score":63},"synopsis":"The White House is under siege in this action thriller from Independence Day director Roland Emmerich and The Amazing Spider-Man's writer James Vanderbilt in this Sony Pictures release. Channing Tatum stars. ~ Jeremy Wheeler, Rovi","posters":{"thumbnail":"http://content7.flixster.com/movie/11/17/44/11174441_mob.jpg","profile":"http://content7.flixster.com/movie/11/17/44/11174441_pro.jpg","detailed":"http://content7.flixster.com/movie/11/17/44/11174441_det.jpg","original":"http://content7.flixster.com/movie/11/17/44/11174441_ori.jpg"},"abridged_cast":[{"name":"Channing Tatum","id":"162661835","characters":["Cale"]},{"name":"Jamie Foxx","id":"162652975","characters":["President Sawyer"]},{"name":"Maggie Gyllenhaal","id":"162663906","characters":["Finnerty"]},{"name":"Jason Clarke","id":"359854726","characters":["Stenz"]},{"name":"Richard Jenkins","id":"317606141","characters":["Raphelson"]}],"alternate_ids":{"imdb":"2334879"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771307102.json","alternate":"http://www.rottentomatoes.com/m/white_house_down/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771307102/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771307102/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771307102/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771307102/similar.json"}},{"id":"770673035","title":"Ender's Game","year":2013,"mpaa_rating":"PG-13","runtime":113,"critics_consensus":"If it isn't quite as thought-provoking as the book, Ender's Game still manages to offer a commendable number of well-acted, solidly written sci-fi thrills.","release_dates":{"theater":"2013-11-01","dvd":"2014-02-11"},"ratings":{"critics_rating":"Fresh","critics_score":61,"audience_rating":"Upright","audience_score":69},"synopsis":"In the near future, a hostile alien race (called the Formics) have attacked Earth. If not for the legendary heroics of International Fleet Commander Mazer Rackham (Ben Kingsley), all would have been lost. In preparation for the next attack, the highly esteemed Colonel Hyrum Graff (Harrison Ford) and the International Military are training only the best young children to find the future Mazer. Ender Wiggin (Asa Butterfield), a shy, but strategically brilliant boy is pulled out of his school to join the elite. Arriving at Battle School, Ender quickly and easily masters increasingly difficult war games, distinguishing himself and winning respect amongst his peers. Ender is soon ordained by Graff as the military's next great hope, resulting in his promotion to Command School. Once there, he's trained by Mazer Rackham, himself, to lead his fellow soldiers into an epic battle that will determine the future of Earth and save the human race. Based on the best-selling, award winning novel, ENDER'S GAME is an epic adventure which stars Asa Butterfield, Hailee Steinfeld, Ben Kingsley, Viola Davis, with Abigail Breslin and Harrison Ford. -- (C) Summit","posters":{"thumbnail":"http://content6.flixster.com/movie/11/17/62/11176212_mob.jpg","profile":"http://content6.flixster.com/movie/11/17/62/11176212_pro.jpg","detailed":"http://content6.flixster.com/movie/11/17/62/11176212_det.jpg","original":"http://content6.flixster.com/movie/11/17/62/11176212_ori.jpg"},"abridged_cast":[{"name":"Asa Butterfield","id":"770800323","characters":["Ender Wiggin"]},{"name":"Harrison Ford","id":"162661579","characters":["Colonel Hyrum Graff"]},{"name":"Hailee Steinfeld","id":"771070631","characters":["Petra Arkanian"]},{"name":"Abigail Breslin","id":"162653854","characters":["Valentine Wiggin"]},{"name":"Ben Kingsley","id":"162653703","characters":["Mazer Rackham"]}],"alternate_ids":{"imdb":"0400403"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770673035.json","alternate":"http://www.rottentomatoes.com/m/enders-game/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/770673035/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/770673035/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/770673035/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/770673035/similar.json"}},{"id":"771318858","title":"Saving Mr. Banks","year":2013,"mpaa_rating":"PG-13","runtime":120,"critics_consensus":"Aggressively likable and sentimental to a fault, Saving Mr. Banks pays tribute to the Disney legacy with excellent performances and sweet, high-spirited charm.","release_dates":{"theater":"2013-12-20","dvd":"2014-03-18"},"ratings":{"critics_rating":"Certified Fresh","critics_score":80,"audience_rating":"Upright","audience_score":87},"synopsis":"Two-time Academy Award (R)-winner Emma Thompson and fellow double Oscar (R)-winner Tom Hanks topline Disney's \"Saving Mr. Banks,\" inspired by the extraordinary, untold backstory of how Disney's classic \"Mary Poppins\" made it to the screen. When Walt Disney's daughters begged him to make a movie of their favorite book, P.L. Travers' \"Mary Poppins,\" he made them a promise-one that he didn't realize would take 20 years to keep. In his quest to obtain the rights, Walt comes up against a curmudgeonly, uncompromising writer who has absolutely no intention of letting her beloved magical nanny get mauled by the Hollywood machine. But, as the books stop selling and money grows short, Travers reluctantly agrees to go to Los Angeles to hear Disney's plans for the adaptation. For those two short weeks in 1961, Walt Disney pulls out all the stops. Armed with imaginative storyboards and chirpy songs from the talented Sherman brothers, Walt launches an all-out onslaught on P.L. Travers, but the prickly author doesn't budge. He soon begins to watch helplessly as Travers becomes increasingly immovable and the rights begin to move further away from his grasp. It is only when he reaches into his own childhood that Walt discovers the truth about the ghosts that haunt her, and together they set Mary Poppins free to ultimately make one of the most endearing films in cinematic history. Inspired by true events, \"Saving Mr. Banks\" is the extraordinary, untold story of how Disney's classic \"Mary Poppins\" made it to the screen-and the testy relationship that the legendary Walt Disney had with author P.L. Travers that almost derailed it. (C) Disney","posters":{"thumbnail":"http://content6.flixster.com/movie/11/17/25/11172532_mob.jpg","profile":"http://content6.flixster.com/movie/11/17/25/11172532_pro.jpg","detailed":"http://content6.flixster.com/movie/11/17/25/11172532_det.jpg","original":"http://content6.flixster.com/movie/11/17/25/11172532_ori.jpg"},"abridged_cast":[{"name":"Emma Thompson","id":"162659389","characters":["P.L. Travers"]},{"name":"Tom Hanks","id":"162655641","characters":["Walt Disney"]},{"name":"Colin Farrell","id":"162665297","characters":["Robert Goff Travers"]},{"name":"Bradley Whitford","id":"162652612","characters":["Don DaGradi"]},{"name":"Paul Giamatti","id":"162683649","characters":["Ralph"]}],"alternate_ids":{"imdb":"2140373"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318858.json","alternate":"http://www.rottentomatoes.com/m/saving_mr_banks_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318858/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318858/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318858/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318858/similar.json"}},{"id":"12926","title":"The Godfather, Part II","year":1974,"mpaa_rating":"R","runtime":200,"critics_consensus":"Drawing on strong performances by Al Pacino and Robert De Niro, Francis Ford Coppola's continuation of Mario Puzo's Mafia saga set new standards for sequels that have yet to be matched or broken.","release_dates":{"theater":"1974-12-20","dvd":"2005-05-24"},"ratings":{"critics_rating":"Certified Fresh","critics_score":99,"audience_rating":"Upright","audience_score":97},"synopsis":"","posters":{"thumbnail":"http://content9.flixster.com/movie/11/16/97/11169783_mob.jpg","profile":"http://content9.flixster.com/movie/11/16/97/11169783_pro.jpg","detailed":"http://content9.flixster.com/movie/11/16/97/11169783_det.jpg","original":"http://content9.flixster.com/movie/11/16/97/11169783_ori.jpg"},"abridged_cast":[{"name":"Al Pacino","id":"162654461","characters":["Michael Corleone"]},{"name":"Robert Duvall","id":"162652186","characters":["Tom Hagen"]},{"name":"Diane Keaton","id":"162660369","characters":["Kay Adams"]},{"name":"Robert De Niro","id":"162655521","characters":["Vito Corleone"]},{"name":"John Cazale","id":"162664256","characters":["Fredo Corleone"]}],"alternate_ids":{"imdb":"0071562"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/12926.json","alternate":"http://www.rottentomatoes.com/m/godfather_part_ii/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/12926/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/12926/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/12926/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/12926/similar.json"}},{"id":"771318590","title":"Prisoners","year":2013,"mpaa_rating":"R","runtime":153,"critics_consensus":"Prisoners has an emotional complexity and a sense of dread that makes for absorbing (and disturbing) viewing.","release_dates":{"theater":"2013-09-20","dvd":"2013-12-17"},"ratings":{"critics_rating":"Certified Fresh","critics_score":82,"audience_rating":"Upright","audience_score":87},"synopsis":"PRISONERS, from Oscar (R)-nominated director Denis Villeneuve, stars Oscar (R) nominees Hugh Jackman and Jake Gyllenhaal in a story that poses the question: How far would you go to protect your child? Keller Dover (Jackman) is facing every parent's worst nightmare. His six-year-old daughter, Anna, is missing, together with her young friend, Joy, and as minutes turn to hours, panic sets in. The only lead is a dilapidated RV that had earlier been parked on their street. Heading the investigation, Detective Loki (Gyllenhaal) arrests its driver, Alex Jones (Paul Dano), but a lack of evidence forces the only suspect's release. Knowing his child's life is at stake, the frantic Dover decides he has no choice but to take matters into his own hands. But just how far will this desperate father go to protect his family? (c) WB","posters":{"thumbnail":"http://content7.flixster.com/movie/11/17/52/11175289_mob.jpg","profile":"http://content7.flixster.com/movie/11/17/52/11175289_pro.jpg","detailed":"http://content7.flixster.com/movie/11/17/52/11175289_det.jpg","original":"http://content7.flixster.com/movie/11/17/52/11175289_ori.jpg"},"abridged_cast":[{"name":"Hugh Jackman","id":"162661503","characters":["Keller Dover"]},{"name":"Jake Gyllenhaal","id":"162653968","characters":["Detective Loki"]},{"name":"Melissa Leo","id":"371352682","characters":["Holly Jones"]},{"name":"Paul Dano","id":"303713360","characters":["Alex Jones"]},{"name":"Maria Bello","id":"162654542","characters":["Gracie Dover"]}],"alternate_ids":{"imdb":"1392214"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318590.json","alternate":"http://www.rottentomatoes.com/m/prisoners_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318590/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318590/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318590/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771318590/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/lists/dvds/top_rentals.json?limit=10&country=uk","alternate":"http://www.rottentomatoes.com/dvd/top_rentals"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/lists/dvds/top_rentals.json?limit={num-results}&country={country-code}"}
35
2
 
@@ -1,36 +1,3 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
1
  {"total":56,"movies":[{"id":"771305753","title":"The Lego Movie","year":2014,"mpaa_rating":"PG","runtime":101,"critics_consensus":"Boasting beautiful animation, a charming voice cast, laugh-a-minute gags, and a surprisingly thoughtful story, The Lego Movie is colorful fun for all ages.","release_dates":{"theater":"2014-02-07"},"ratings":{"critics_rating":"Certified Fresh","critics_score":97,"audience_rating":"Upright","audience_score":89},"synopsis":"\"The LEGO (R) Movie\" is the first-ever, full-length theatrical LEGO (R) adventure. The original 3D computer animated story follows Emmet (Chris Pratt) an ordinary, rules- following, perfectly average LEGO minifigure who is mistakenly identified as the most extraordinary person and the key to saving the world. He is drafted into a fellowship of strangers on an epic quest to stop an evil tyrant, a journey for which Emmet is hopelessly and hilariously underprepared. (c) Warner Bros","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/20/11172079_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/20/11172079_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/20/11172079_det.jpg","original":"http://content9.flixster.com/movie/11/17/20/11172079_ori.jpg"},"abridged_cast":[{"name":"Chris Pratt","id":"770692298","characters":["Emmet"]},{"name":"Elizabeth Banks","id":"162653584","characters":["Wyldstyle/Lucy"]},{"name":"Will Arnett","id":"335717464","characters":["Batman"]},{"name":"Will Ferrell","id":"162652185","characters":["President Business"]},{"name":"Morgan Freeman","id":"162652224","characters":["Vitruvius"]}],"alternate_ids":{"imdb":"1490017"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305753.json","alternate":"http://www.rottentomatoes.com/m/the_lego_movie/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305753/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305753/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305753/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771305753/similar.json"}},{"id":"771311994","title":"Need For Speed","year":2014,"mpaa_rating":"PG-13","runtime":130,"critics_consensus":"With stock characters and a preposterous plot, this noisily diverting video game adaptation fulfills a Need for Speed and little else.","release_dates":{"theater":"2014-03-14"},"ratings":{"critics_rating":"Rotten","critics_score":23,"audience_rating":"Upright","audience_score":68},"synopsis":"Based on the most successful racing video game franchise ever with over 140 million copies sold, DreamWorks Pictures' \"Need for Speed\" captures the thrills of the game in a real-world setting. An exciting return to the great car-culture films of the 1960s and '70s, when authenticity brought a new level of intensity to the action, \"Need for Speed\" taps into what makes the American myth of the open road so enticing. The story chronicles a near-impossible cross-country race against time-one that begins as a mission for revenge, but proves to be one of redemption. In a last attempt to save his struggling garage, blue-collar mechanic Tobey Marshall (Aaron Paul)-who with his team skillfully builds and races muscle cars on the side-reluctantly partners with wealthy, arrogant ex-NASCAR driver Dino Brewster (Dominic Cooper). Just as a major sale to car broker Julia Bonet (Imogen Poots) looks like it will save the business, a disastrous, unsanctioned race results in Dino framing Tobey for manslaughter.(c) Disney","posters":{"thumbnail":"http://content6.flixster.com/movie/11/17/55/11175520_mob.jpg","profile":"http://content6.flixster.com/movie/11/17/55/11175520_pro.jpg","detailed":"http://content6.flixster.com/movie/11/17/55/11175520_det.jpg","original":"http://content6.flixster.com/movie/11/17/55/11175520_ori.jpg"},"abridged_cast":[{"name":"Aaron Paul","id":"410145522","characters":["Tobey Marshall"]},{"name":"Imogen Poots","id":"770678493","characters":["Julia Bonet"]},{"name":"Dominic Cooper","id":"349219113","characters":["Dino Brewster"]},{"name":"Scott \"Kid Cudi\" Mescudi","id":"771354837","characters":["Benny"]},{"name":"Ramon Rodriguez","id":"770685349","characters":["Joe Peck"]}],"alternate_ids":{"imdb":"2369135"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771311994.json","alternate":"http://www.rottentomatoes.com/m/need_for_speed/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771311994/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771311994/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771311994/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771311994/similar.json"}},{"id":"771312437","title":"The Grand Budapest Hotel","year":2014,"mpaa_rating":"R","runtime":100,"critics_consensus":"Typically stylish but deceptively thoughtful, The Grand Budapest Hotel finds Wes Anderson once again using ornate visual environments to explore deeply emotional ideas.","release_dates":{"theater":"2014-03-07"},"ratings":{"critics_rating":"Certified Fresh","critics_score":91,"audience_rating":"Upright","audience_score":90},"synopsis":"THE GRAND BUDAPEST HOTEL recounts the adventures of Gustave H, a legendary concierge at a famous European hotel between the wars, and Zero Moustafa, the lobby boy who becomes his most trusted friend. The story involves the theft and recovery of a priceless Renaissance painting and the battle for an enormous family fortune -- all against the back-drop ofa suddenly and dramatically changing Continent. (c) Fox Searchlight","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/41/11174171_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/41/11174171_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/41/11174171_det.jpg","original":"http://content9.flixster.com/movie/11/17/41/11174171_ori.jpg"},"abridged_cast":[{"name":"Saoirse Ronan","id":"770680691","characters":["Agatha"]},{"name":"Ralph Fiennes","id":"162653681","characters":["M. Gustave"]},{"name":"Bill Murray","id":"162653064","characters":["M. Ivan"]},{"name":"Tilda Swinton","id":"162654047","characters":["Madame D."]},{"name":"Jeff Goldblum","id":"162668455","characters":["Deputy Kovacs"]}],"alternate_ids":{"imdb":"2278388"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771312437.json","alternate":"http://www.rottentomatoes.com/m/the_grand_budapest_hotel/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771312437/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771312437/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771312437/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771312437/similar.json"}},{"id":"771249085","title":"300: Rise of an Empire","year":2013,"mpaa_rating":"R","runtime":103,"critics_consensus":"It's bound to hit some viewers as an empty exercise in stylish gore, and despite a gonzo starring performance from Eva Green, 300: Rise of an Empire is a step down from its predecessor.","release_dates":{"theater":"2014-03-07"},"ratings":{"critics_rating":"Rotten","critics_score":42,"audience_rating":"Upright","audience_score":62},"synopsis":"Based on Frank Miller's latest graphic novel Xerxes and told in the breathtaking visual style of the blockbuster \"300,\" this new chapter of the epic saga takes the action to a fresh battlefield-on the sea-as Greek general Themistokles (Sullivan Stapleton) attempts to unite all of Greece by leading the charge that will change the course of the war. \"300: Rise of an Empire\" pits Themistokles against the massive invading Persian forces led by mortal-turned-god Xerxes (Rodrigo Santoro), and Artemisia (Eva Green), vengeful commander of the Persian navy. (c) WB","posters":{"thumbnail":"http://content7.flixster.com/movie/11/17/19/11171969_mob.jpg","profile":"http://content7.flixster.com/movie/11/17/19/11171969_pro.jpg","detailed":"http://content7.flixster.com/movie/11/17/19/11171969_det.jpg","original":"http://content7.flixster.com/movie/11/17/19/11171969_ori.jpg"},"abridged_cast":[{"name":"Sullivan Stapleton","id":"770706605","characters":["Themistokles"]},{"name":"Eva Green","id":"162652241","characters":["Artemisia"]},{"name":"Lena Headey","id":"162653508","characters":["Gorgo"]},{"name":"Rodrigo Santoro","id":"162676528","characters":["Xerxes"]},{"name":"David Wenham","id":"326395611","characters":["Dilios"]}],"alternate_ids":{"imdb":"1253863"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249085.json","alternate":"http://www.rottentomatoes.com/m/300_rise_of_an_empire/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249085/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249085/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249085/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771249085/similar.json"}},{"id":"771304322","title":"Non-Stop","year":2013,"mpaa_rating":"PG-13","runtime":110,"critics_consensus":"While Liam Neeson is undoubtedly an asset, Non-Stop wastes its cast -- not to mention its solid premise and tense setup -- on a poorly conceived story that hinges on a thoroughly unbelievable final act.","release_dates":{"theater":"2014-02-28"},"ratings":{"critics_rating":"Rotten","critics_score":59,"audience_rating":"Upright","audience_score":71},"synopsis":"Global action star Liam Neeson stars in NON-STOP, a suspense thriller played out at 40,000 feet in the air. During a transatlantic flight from New York City to London, U.S. Air Marshal Bill Marks (Neeson) receives a series of cryptic text messages demanding that he instruct the government to transfer $150 million into an off-shore account. Until he secures the money, a passenger on his flight will be killed every 20 minutes. NON-STOP, which reunites Neeson with UNKNOWN director Jaume Collet-Serra and producer Joel Silver, co-stars Golden Globe Award winner Julianne Moore and will be released by Universal Pictures on February 28, 2014. The StudioCanal production is also produced by Andrew Rona and Steve Richards. (C) Universal","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/55/11175511_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/55/11175511_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/55/11175511_det.jpg","original":"http://content9.flixster.com/movie/11/17/55/11175511_ori.jpg"},"abridged_cast":[{"name":"Liam Neeson","id":"162652242","characters":["Bill Marks"]},{"name":"Julianne Moore","id":"162654248","characters":["Jen Summers"]},{"name":"Nate Parker","id":"770693654","characters":["Zack White"]},{"name":"Scoot McNairy","id":"770681905","characters":["Tom Bowen"]},{"name":"Michelle Dockery","id":"770685607","characters":["Nancy"]}],"alternate_ids":{"imdb":"2024469"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771304322.json","alternate":"http://www.rottentomatoes.com/m/non_stop_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771304322/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771304322/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771304322/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771304322/similar.json"}},{"id":"771362216","title":"Starred Up","year":2013,"mpaa_rating":"Unrated","runtime":100,"critics_consensus":"Smart, hard-hitting, and queasily realistic, Starred Up is an instant classic of U.K. prison cinema.","release_dates":{},"ratings":{"critics_rating":"Fresh","critics_score":98,"audience_score":83},"synopsis":"19 year-old Eric Love is a violent and troubled teenager making the difficult transition from a young offenders' institute to an adult prison. He seems to be destined for a life behind bars, but the prison's unconventional therapist is determined to help Eric find a way through, assisted by of one of the prison's longest serving inmates -- Neville -- who just happens to be Eric's father.","posters":{"thumbnail":"http://content8.flixster.com/movie/11/17/48/11174850_mob.jpg","profile":"http://content8.flixster.com/movie/11/17/48/11174850_pro.jpg","detailed":"http://content8.flixster.com/movie/11/17/48/11174850_det.jpg","original":"http://content8.flixster.com/movie/11/17/48/11174850_ori.jpg"},"abridged_cast":[{"name":"Jack O'Connell","id":"770771828"},{"name":"Ben Mendelsohn","id":"284495637"},{"name":"Rupert Friend","id":"326394482"},{"name":"Sam Spruell","id":"385329967"},{"name":"David Ajala","id":"771375753"}],"alternate_ids":{"imdb":"2567712"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362216.json","alternate":"http://www.rottentomatoes.com/m/starred_up/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362216/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362216/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362216/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362216/similar.json"}},{"id":"771169232","title":"Mr. Peabody & Sherman","year":2014,"mpaa_rating":"PG","runtime":92,"critics_consensus":"Mr. Peabody & Sherman offers a surprisingly entertaining burst of colorful all-ages fun, despite of its dated source material and rather convoluted plot.","release_dates":{"theater":"2014-03-07"},"ratings":{"critics_rating":"Certified Fresh","critics_score":79,"audience_rating":"Upright","audience_score":79},"synopsis":"Mr. Peabody, the most accomplished dog in the world, and his mischievous boy Sherman, use their time machine - the WABAC - to go on the most outrageous adventures known to man or dog. But when Sherman takes the WABAC out for a joyride to impress his friend Penny, they accidentally rip a hole in the universe, wreaking havoc on the most important events in world history. Before they forever alter the past, present and future, Mr. Peabody must come to their rescue, ultimately facing the most daunting challenge of any era: figuring out how to be a parent. Together, the time traveling trio will make their mark on history. (c) Fox","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/57/11175779_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/57/11175779_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/57/11175779_det.jpg","original":"http://content9.flixster.com/movie/11/17/57/11175779_ori.jpg"},"abridged_cast":[{"name":"Ty Burrell","id":"326391544","characters":["Mr. Peabody"]},{"name":"Max Charles","id":"771103441","characters":["Sherman"]},{"name":"Stephen Colbert","id":"326397081","characters":["Paul Peterson"]},{"name":"Allison Janney","id":"434230452","characters":["Ms. Grunion","Paula Peterson"]},{"name":"Ariel Winter","id":"770744043","characters":["Penny Peterson"]}],"alternate_ids":{"imdb":"0864835"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771169232.json","alternate":"http://www.rottentomatoes.com/m/mr_peabody_and_sherman/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771169232/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771169232/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771169232/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771169232/similar.json"}},{"id":"771370141","title":"The Pirate Fairy","year":2014,"mpaa_rating":"G","runtime":78,"release_dates":{"dvd":"2014-04-01"},"ratings":{"critics_rating":"Fresh","critics_score":63,"audience_score":76},"synopsis":"From the world of Peter Pan comes The Pirate Fairy, a swashbuckling new adventure about Zarina (voice of Christina Hendricks), a smart and ambitious dust-keeper fairy who's captivated by Blue Pixie Dust and its endless possibilities. When Zarina's wild ideas get her into trouble, she flees Pixie Hollow and joins forces with the scheming pirates of Skull Rock, who make her captain of their ship. Tinker Bell (voice of Mae Whitman) and her friends must embark on an epic adventure to find Zarina, and together they go sword-to-sword with the band of pirates led by a cabin boy named James (voice of Tom Hiddleston), who'll soon be known as Captain Hook, himself. Enjoy the laughter, heart, magic and thrills of The Pirate Fairy.","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":"Christina Hendricks","id":"770682642","characters":["Zarina"]},{"name":"Mae Whitman","id":"162654346","characters":["Tinker Bell"]},{"name":"Tom Hiddleston","id":"770837993","characters":["James"]},{"name":"Angela Bartys","id":"771351008","characters":["Fawn"]},{"name":"Raven Symone","id":"770895240","characters":["Iridessa"]}],"alternate_ids":{"imdb":"2483260"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771370141.json","alternate":"http://www.rottentomatoes.com/m/the_pirate_fairy_2014/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771370141/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771370141/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771370141/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771370141/similar.json"}},{"id":"771267600","title":"Escape From Planet Earth","year":2013,"mpaa_rating":"PG","runtime":89,"release_dates":{"theater":"2013-02-15","dvd":"2013-06-04"},"ratings":{"critics_rating":"Rotten","critics_score":32,"audience_rating":"Spilled","audience_score":55},"synopsis":"The 3D animated family comedy catapults moviegoers to planet Baab where admired astronaut Scorch Supernova (Brendan Fraser) is a national hero to the blue alien population. A master of daring rescues, Scorch pulls off astonishing feats with the quiet aid of his nerdy, by-the-rules brother, Gary (Rob Corddry), head of mission control at BASA. When BASA's no-nonsense chief Lena (Jessica Alba) informs the brothers of an SOS from a notoriously dangerous planet, Scorch rejects Gary's warnings and bounds off for yet another exciting mission. But when Scorch finds himself caught in a fiendish trap set by the evil Shanker (William Shatner) it's up to scrawny, risk-adverse Gary to do the real rescuing. As the interplanetary stakes rise to new heights, Gary is left to save his brother, his planet, his beloved wife Kira (Sarah Jessica Parker) and their adventure hungry son Kip. (c) Weinstein","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/16/11171699_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/16/11171699_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/16/11171699_det.jpg","original":"http://content9.flixster.com/movie/11/17/16/11171699_ori.jpg"},"abridged_cast":[{"name":"Brendan Fraser","id":"162662763","characters":["Scorch Supernova"]},{"name":"Rob Corddry","id":"312208850","characters":["Gary","Gary Supernova"]},{"name":"Ricky Gervais","id":"378620549","characters":["Mr. James Bing"]},{"name":"Jonathan Morgan Heit","id":"770825935","characters":["Kip Supernova"]},{"name":"Jessica Alba","id":"162652782","characters":["Lena","Lena 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_2013/","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":"771357238","title":"A Long Way Down","year":2013,"mpaa_rating":"R","runtime":96,"release_dates":{},"ratings":{"critics_rating":"Rotten","critics_score":27,"audience_score":35},"synopsis":"Four lost souls - a disgraced TV presenter, a foul-mouthed teen, an isolated single mother and a solipsistic muso - decide to end their lives on the same night, New Year's Eve. When this disillusioned quartet of strangers meet unintentionally at the same suicide hotspot, a London high-rise with the well-earned nickname Topper's Tower, they mutually agree to call off their plans for six weeks, forming an unconventional, dysfunctional family, becoming media sensations as the Topper House Four and searching together for the reasons to keep on living.","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":"Rosamund Pike","id":"162654705"},{"name":"Aaron Paul","id":"410145522"},{"name":"Pierce Brosnan","id":"162663451"},{"name":"Imogen Poots","id":"770678493"},{"name":"Toni Collette","id":"162654444"}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771357238.json","alternate":"http://www.rottentomatoes.com/m/a_long_way_down/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771357238/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771357238/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771357238/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771357238/similar.json"}},{"id":"770820337","title":"Labor Day","year":2014,"mpaa_rating":"PG-13","runtime":111,"critics_consensus":"Kate Winslet and Josh Brolin make for an undeniably compelling pair, but they can't quite rescue Labor Day from the pallid melodrama of its exceedingly ill-advised plot.","release_dates":{"theater":"2014-01-31","dvd":"2014-04-29"},"ratings":{"critics_rating":"Rotten","critics_score":33,"audience_rating":"Spilled","audience_score":58},"synopsis":"\"Labor Day\" centers on 13-year-old Henry Wheeler, who struggles to be the man of his house and care for his reclusive mother Adele while confronting all the pangs of adolescence. On a back-to-school shopping trip, Henry and his mother encounter Frank Chambers, a man both intimidating and clearly in need of help, who convinces them to take him into their home and later is revealed to be an escaped convict. The events of this long Labor Day weekend will shape them for the rest of their lives. --(C) Paramount","posters":{"thumbnail":"http://content9.flixster.com/movie/11/17/55/11175503_mob.jpg","profile":"http://content9.flixster.com/movie/11/17/55/11175503_pro.jpg","detailed":"http://content9.flixster.com/movie/11/17/55/11175503_det.jpg","original":"http://content9.flixster.com/movie/11/17/55/11175503_ori.jpg"},"abridged_cast":[{"name":"Josh Brolin","id":"162654237","characters":["Frank Chambers"]},{"name":"Kate Winslet","id":"162659302","characters":["Adele Wheeler"]},{"name":"Gattlin Griffith","id":"770819198","characters":["Henry Wheeler"]},{"name":"Brooke Smith","id":"162654447","characters":["Evelyn"]},{"name":"Clark Gregg","id":"364607667","characters":["Gerald"]}],"alternate_ids":{"imdb":"1967545"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770820337.json","alternate":"http://www.rottentomatoes.com/m/labor_day_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/770820337/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/770820337/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/770820337/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/770820337/similar.json"}},{"id":"771320491","title":"Ride Along","year":2014,"mpaa_rating":"PG-13","runtime":99,"critics_consensus":"Kevin Hart's livewire presence gives Ride Along a shot of necessary energy, but it isn't enough to rescue this would-be comedy from the buddy-cop doldrums.","release_dates":{"theater":"2014-01-17","dvd":"2014-04-15"},"ratings":{"critics_rating":"Rotten","critics_score":18,"audience_rating":"Upright","audience_score":67},"synopsis":"Kevin Hart and Ice Cube lead the lineup in Ride Along, the new film from the director and the producer of the blockbuster comedy Think Like a Man. When a fast-talking guy joins his girlfriend's brother-a hot-tempered cop-to patrol the streets of Atlanta, he gets entangled in the officer's latest case. Now, in order to prove that he deserves his future bride, he must survive the most insane 24 hours of his life. For the past two years, high-school security guard Ben (Hart) has been trying to show decorated APD detective James (Cube) that he's more than just a video-game junkie who's unworthy of James' sister, Angela (Tika Sumpter). When Ben finally gets accepted into the academy, he thinks he's earned the seasoned policeman's respect and asks for his blessing to marry Angela. Knowing that a ride along will demonstrate if Ben has what it takes to take care of his sister, James invites him on a shift designed to scare the hell out of the trainee. But when the wild night leads them to the most notorious criminal in the city, James will find that his new partner's rapid-fire mouth is just as dangerous as the bullets speeding at it. John Leguizamo and Laurence Fishburne join the cast of the action-comedy directed by Tim Story. Ride Along is produced by Will Packer (Think Like a Man), alongside Ice Cube, Matt Alvarez (Barbershop) and Larry Brezner (Good Morning, Vietnam). (C) Universal","posters":{"thumbnail":"http://content6.flixster.com/movie/11/17/48/11174812_mob.jpg","profile":"http://content6.flixster.com/movie/11/17/48/11174812_pro.jpg","detailed":"http://content6.flixster.com/movie/11/17/48/11174812_det.jpg","original":"http://content6.flixster.com/movie/11/17/48/11174812_ori.jpg"},"abridged_cast":[{"name":"Ice Cube","id":"162652332","characters":["James"]},{"name":"Kevin Hart","id":"770671077","characters":["Ben"]},{"name":"John Leguizamo","id":"162652698","characters":["Santiago"]},{"name":"Bruce McGill","id":"162652571","characters":["Lt. Brooks"]},{"name":"Tika Sumpter","id":"771078913","characters":["Angela Payton"]}],"alternate_ids":{"imdb":"1408253"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771320491.json","alternate":"http://www.rottentomatoes.com/m/ride_along_2014/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771320491/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771320491/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771320491/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771320491/similar.json"}},{"id":"771323761","title":"About Last Night","year":2014,"mpaa_rating":"R","runtime":100,"critics_consensus":"About Last Night wanders even further from the David Mamet play that inspired the original, but it benefits from an engaging cast and a screenplay that smartly balances romance and comedy.","release_dates":{"theater":"2014-02-14"},"ratings":{"critics_rating":"Certified Fresh","critics_score":70,"audience_rating":"Upright","audience_score":75},"synopsis":"A modern reimagining of the classic romantic comedy, this contemporary version closely follows new love for two couples as they journey from the bar to the bedroom and are eventually put to the test in the real world. (c) Screen Gems","posters":{"thumbnail":"http://content6.flixster.com/movie/11/17/52/11175256_mob.jpg","profile":"http://content6.flixster.com/movie/11/17/52/11175256_pro.jpg","detailed":"http://content6.flixster.com/movie/11/17/52/11175256_det.jpg","original":"http://content6.flixster.com/movie/11/17/52/11175256_ori.jpg"},"abridged_cast":[{"name":"Kevin Hart","id":"770671077","characters":["Bernie"]},{"name":"Michael Ealy","id":"162713769","characters":["Danny"]},{"name":"Regina Hall","id":"162667054","characters":["Joan"]},{"name":"Joy Bryant","id":"162653223","characters":["Debbie"]},{"name":"Christopher McDonald","id":"162680629","characters":["Casey McNeil"]}],"alternate_ids":{"imdb":"1826590"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771323761.json","alternate":"http://www.rottentomatoes.com/m/about_last_night_2014/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771323761/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771323761/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771323761/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771323761/similar.json"}},{"id":"771362044","title":"Under the Skin","year":2013,"mpaa_rating":"R","runtime":107,"critics_consensus":"Its message may prove elusive for some, but with absorbing imagery and a mesmerizing performance from Scarlett Johansson, Under the Skin is a haunting viewing experience.","release_dates":{"theater":"2014-04-04"},"ratings":{"critics_rating":"Certified Fresh","critics_score":89,"audience_score":94},"synopsis":"An alien in human form is on a journey through Scotland.","posters":{"thumbnail":"http://content8.flixster.com/movie/11/17/62/11176242_mob.jpg","profile":"http://content8.flixster.com/movie/11/17/62/11176242_pro.jpg","detailed":"http://content8.flixster.com/movie/11/17/62/11176242_det.jpg","original":"http://content8.flixster.com/movie/11/17/62/11176242_ori.jpg"},"abridged_cast":[{"name":"Scarlett Johansson","id":"162652872","characters":["Laura"]},{"name":"Paul Brannigan","id":"771409822","characters":["Andrew"]},{"name":"Antonia Campbell-Hughes","id":"770741676","characters":["Shadow Alien"]},{"name":"Krystof Hadek","id":"162705035","characters":["The Swimmer"]},{"name":"Jessica Mance","id":"771484186","characters":["Alien"]}],"alternate_ids":{"imdb":"1441395"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362044.json","alternate":"http://www.rottentomatoes.com/m/under_the_skin_2013/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362044/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362044/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362044/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771362044/similar.json"}},{"id":"771324789","title":"The Book Thief","year":2013,"mpaa_rating":"PG-13","runtime":130,"critics_consensus":"A bit too safe in its handling of its Nazi Germany setting, The Book Thief counters its constraints with a respectful tone and strong performances.","release_dates":{"theater":"2013-11-08","dvd":"2014-03-11"},"ratings":{"critics_rating":"Rotten","critics_score":46,"audience_rating":"Upright","audience_score":76},"synopsis":"Based on the beloved international bestselling book, The Book Thief tells the story of an extraordinary, spirited young girl sent to live with a foster family in WWII Germany. Intrigued by the only book she brought with her, she begins collecting books as she finds them. With the help of her new parents and a secret guest under the stairs, she learns to read and creates a magical world that inspires them all.","posters":{"thumbnail":"http://content8.flixster.com/movie/11/17/44/11174462_mob.jpg","profile":"http://content8.flixster.com/movie/11/17/44/11174462_pro.jpg","detailed":"http://content8.flixster.com/movie/11/17/44/11174462_det.jpg","original":"http://content8.flixster.com/movie/11/17/44/11174462_ori.jpg"},"abridged_cast":[{"name":"Sophie Nelisse","id":"771379482","characters":["Liesel"]},{"name":"Geoffrey Rush","id":"162659119","characters":["Hans"]},{"name":"Emily Watson","id":"162654016","characters":["Rosa"]},{"name":"Ben Schnetzer","id":"770678301","characters":["Max"]},{"name":"Nico Liersch","id":"771451813","characters":["Rudy"]}],"alternate_ids":{"imdb":"0816442"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771324789.json","alternate":"http://www.rottentomatoes.com/m/the_book_thief/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771324789/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771324789/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771324789/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771324789/similar.json"}},{"id":"771363915","title":"The Stag","year":2014,"mpaa_rating":"Unrated","runtime":94,"release_dates":{},"ratings":{"critics_rating":"Fresh","critics_score":78,"audience_score":57},"synopsis":"This is a laugh-out-loud comedy that's also big on heart - a hilarious take on modern male friendship, bonding and brotherhood, set in rural Ireland.","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":"Andrew Scott","id":"586476044"},{"name":"Briain Gleeson","id":"770838916"},{"name":"Hugh O'Conor","id":"351524901"},{"name":"Michael Legge","id":"364628452"},{"name":"Peter McDonald","id":"559578824"}],"alternate_ids":{"imdb":"2573858"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/771363915.json","alternate":"http://www.rottentomatoes.com/m/the_stag/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/771363915/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/771363915/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/771363915/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/771363915/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json?page_limit=16&country=uk&page=1","next":"http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json?page_limit=16&country=uk&page=2","alternate":"http://www.rottentomatoes.com/movie/in_theaters"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/lists/movies/in_theaters.json?page_limit={results_per_page}&page={page_number}&country={country-code}"}
35
2
 
36
3
 
@@ -1,36 +1,2 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
1
  {"total":36,"reviews":[{"critic":"Eric Hynes","date":"2013-08-04","freshness":"fresh","publication":"Village Voice","quote":"When teenaged Andy plops down on the grass to share his old toys with a shy little girl, the film spikes with sadness and layered pleasure -- a concise, deeply wise expression of the ephemeral that feels real and yet utterly transporting.","links":{"review":"http://www.villagevoice.com/2010-06-15/film/toys-are-us-in-toy-story-3/full/"}},{"critic":"David Denby","date":"2013-08-04","freshness":"fresh","publication":"New Yorker","quote":"There are many sweet laughs and joking allusions to horror and prison-break movies, but the Pixar gang gets at the most primary fear -- being cast off and no longer of use.","links":{"review":"http://www.newyorker.com/arts/reviews/film/toy_story_3_unkrich"}},{"critic":"Tom Charity","date":"2013-08-04","freshness":"fresh","publication":"CNN.com","quote":"I seriously doubt there will be a more hilarious and heartfelt blockbuster all summer.","links":{"review":"http://www.cnn.com/2010/SHOWBIZ/Movies/06/17/toy.story.3.review/index.html"}},{"critic":"Jonathan Romney","date":"2010-07-27","freshness":"fresh","publication":"Sight and Sound","quote":"Bonnie is a touching tribute to the unbridled childhood imagination -- quite clearly, the kind of child who grows up to be a Pixar animator.","links":{"review":"http://old.bfi.org.uk/sightandsound/review/5549"}},{"critic":"Ailsa Caine","date":"2010-07-22","original_score":"4/5","freshness":"fresh","publication":"Little White Lies","quote":"By [Pixar's] high standards this isn't the best, but by anyone else's, it's close to perfection.","links":{"review":"http://www.littlewhitelies.co.uk/theatrical-reviews/toy-story-3/"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122/reviews.json?review_type=top_critic&page_limit=5&country=uk&page=1","next":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122/reviews.json?review_type=top_critic&page_limit=5&country=uk&page=2","alternate":"http://www.rottentomatoes.com/m/toy_story_3/#reviews","rel":"http://api.rottentomatoes.com/api/public/v1.0/movies/770672122.json"},"link_template":"http://api.rottentomatoes.com/api/public/v1.0/movies/{movie-id}/reviews.json?review_type={top_critic|all|dvd}&page_limit={results-per-page}&page={page-number}&country={country-code}"}
36
2
 
@@ -22,21 +22,23 @@ describe 'WorthWatching::Aggregator' do
22
22
  stub_request(:get, "http://www.metacritic.com/search/movie/Toy+Story+3/results").to_return(:status => 200, :body => json_response,:headers => {"content-type"=>["text/html; charset=utf-8"]})
23
23
  end
24
24
 
25
- let(:movie) { aggregator.movie_info("770672122") }
25
+ let(:movie) do
26
+ aggregator.aggregate_movie("770672122")
27
+ end
26
28
 
27
- it "should have rotten tomatoes rating 99'" do
29
+ it "should have Rotten Tomato rating 99" do
28
30
  expect(movie.rt_rating).to eq(99)
29
31
  end
30
32
 
31
- it "should have a link to RT page 'http://www.rottentomatoes.com/m/toy_story_3/'" do
33
+ it "should have a link to RT page 'http://www.rottentomatoes.com/m/toy_story_3/" do
32
34
  expect(movie.rt_url).to eq("http://www.rottentomatoes.com/m/toy_story_3/")
33
35
  end
34
36
 
35
- it "should have imdb rating of 8.5" do
37
+ it "should have IMDB rating of 8.5" do
36
38
  expect(movie.imdb_rating).to eq("8.5")
37
39
  end
38
40
 
39
- it "should have imdb url 'http://www.imdb.com/title/tt0435761/" do
41
+ it "should have IMDB url 'http://www.imdb.com/title/tt0435761/'" do
40
42
  expect(movie.imdb_url).to eq("http://www.imdb.com/title/tt0435761/")
41
43
  end
42
44
 
@@ -52,9 +54,14 @@ describe 'WorthWatching::Aggregator' do
52
54
  expect(movie.poster).to eq("http://cf2.imgobject.com/t/p/original/tOwAAVeL1p3ls9dhOBo45ElodU3.jpg")
53
55
  end
54
56
 
57
+ it "should have a ratings summary" do
58
+ summary = "Rotten Tomatoes rating: 99\nIMDB rating: 8.5\nMetacritic rating: 92\n"
59
+ expect(movie.rating_summary).to eq(summary)
60
+ end
61
+
55
62
  describe "retrieving movie reviews" do
56
63
  let (:reviews) { movie.reviews }
57
-
64
+
58
65
  it "should have an author" do
59
66
  expect(reviews.first).to be_an_instance_of(WorthWatching::WrittenReview)
60
67
  end
@@ -80,4 +87,48 @@ describe 'WorthWatching::Aggregator' do
80
87
  end
81
88
  end
82
89
  end
90
+
91
+ describe "searching for movies" do
92
+ before do
93
+ json_response = File.read(File.dirname(__FILE__) + "/../support/json_responses/1_movie_search_result.json")
94
+ stub_request(:get, /api\.rottentomatoes\.com\/api\/public\/v1\.0\/movies\.json\?apikey=.*&page_limit=4&q=finding%20nemo/).to_return(:status => 200, :body => json_response,:headers => {"content-type"=>["application/json; charset=utf-8"]})
95
+
96
+ json_response = File.read(File.dirname(__FILE__) + "/../support/json_responses/3_movie_search_result.json")
97
+ stub_request(:get, /api\.rottentomatoes\.com\/api\/public\/v1\.0\/movies\.json\?apikey=.*&page_limit=4&q=toy%20story/).to_return(:status => 200, :body => json_response,:headers => {"content-type"=>["application/json; charset=utf-8"]})
98
+
99
+ json_response = File.read(File.dirname(__FILE__) + "/../support/json_responses/0_movie_search_result.json")
100
+ stub_request(:get, /api\.rottentomatoes\.com\/api\/public\/v1\.0\/movies\.json\?apikey=.*&page_limit=4&q=amoviethatdoesnotexist/).to_return(:status => 200, :body => json_response,:headers => {"content-type"=>["application/json; charset=utf-8"]})
101
+ end
102
+
103
+ context "when results exist for the given query string" do
104
+ let(:results) { aggregator.search_by_title("finding nemo", 4) }
105
+ describe "the search results" do
106
+ it "is an array of movies" do
107
+
108
+ expect(results).to be_an_instance_of(Array)
109
+ end
110
+
111
+ it "has the title of the movie result" do
112
+ expect(results.first[:title]).to eq("Finding Nemo")
113
+ end
114
+
115
+ it "has the Rotten Tomatoes ID of the movie result" do
116
+ expect(results.first[:rt_id]).to eq("9377")
117
+ end
118
+
119
+ it "has the release year of the movie result" do
120
+ expect(results.first[:year]).to eq("2003")
121
+ end
122
+ end
123
+ end
124
+
125
+ context "when results do not exist for the given query string" do
126
+ describe "the search results" do
127
+ it "returns false" do
128
+ results = aggregator.search_by_title("amoviethatdoesnotexist", 4)
129
+ expect(results).to be_false
130
+ end
131
+ end
132
+ end
133
+ end
83
134
  end
@@ -3,7 +3,7 @@ require 'json'
3
3
 
4
4
  describe "WorthWatching::Movie" do
5
5
  let(:movie) do
6
- response_movie_hash = File.read(File.dirname(__FILE__) + "/../support/json_responses/toy_story.json")
6
+ response_movie_hash = File.read(File.dirname(__FILE__) + "/../support/json_responses/toy_story_rt.json")
7
7
  WorthWatching::Movie.new(JSON.parse(response_movie_hash))
8
8
  end
9
9
 
@@ -42,4 +42,15 @@ describe "WorthWatching::Movie" do
42
42
  it "should have genre 'Animation'" do
43
43
  expect(movie.genre).to eq("Animation")
44
44
  end
45
+
46
+ it "has a general summary" do
47
+ summary = "Toy Story 3\n------------------------------------------------------------\nReleased: 18 Jun 2010\n------------------------------------------------------------\nPixar returns to their first success with Toy Story 3. The movie begins with Andy leaving for college and donating his beloved toys -- including Woody (Tom Hanks) and Buzz (Tim Allen) -- to a daycare. While the crew meets new friends, including Ken (Michael Keaton), they soon grow to hate their new surroundings and plan an escape. The film was directed by Lee Unkrich from a script co-authored by Little Miss Sunshine scribe Michael Arndt. ~ Perry Seibert, Rovi\n------------------------------------------------------------\nCast: Tom Hanks, Tim Allen, Joan Cusack, Ned Beatty\n------------------------------------------------------------\nRotten Tomatoes rating: 99\nIMDB rating: Not retrieved\nMetacritic rating: Not retrieved\n"
48
+
49
+ expect(movie.summary).to eq(summary)
50
+ end
51
+
52
+ it "has a rating summary" do
53
+ summary = "Rotten Tomatoes rating: 99\nIMDB rating: Not retrieved\nMetacritic rating: Not retrieved\n"
54
+ expect(movie.rating_summary).to eq(summary)
55
+ end
45
56
  end
@@ -0,0 +1,52 @@
1
+ require 'test_helper'
2
+
3
+ describe "WorthWatching::WrittenReview" do
4
+ let (:review) {WorthWatching::WrittenReview.new( {"critic"=>"Joshua Rothkopf", "date"=>"2014-03-27", "original_score"=>"4/5", "freshness"=>"fresh", "publication"=>"Time Out New York", "quote"=>"The Marvel faithful will turn up for the action scenes, and the directors, brothers Anthony and Joe Russo, add an uncommon sharpness to sequences of urban warfare -- these Heat-grade bullet volleys have a real ping to them.", "links"=>{"review"=>"http://www.timeout.com/us/film/captain-america-the-winter-soldier"}})}
5
+
6
+ it "has a valid constructor" do
7
+ expect(review).to be_an_instance_of(WorthWatching::WrittenReview)
8
+ end
9
+
10
+ it "has an author" do
11
+ expect(review.author).to eq("Joshua Rothkopf")
12
+ end
13
+
14
+ it "has a date" do
15
+ expect(review.date).to eq(Date.parse("2014-03-27"))
16
+ end
17
+
18
+ it "has a rating" do
19
+ expect(review.rating).to eq("fresh")
20
+ end
21
+
22
+ it "has the original score" do
23
+ expect(review.original_score).to eq("4/5")
24
+
25
+ end
26
+
27
+ it "has a source" do
28
+ expect(review.source).to eq("Time Out New York")
29
+ end
30
+
31
+ it "has a quote" do
32
+ expect(review.quote).to eq("The Marvel faithful will turn up for the action scenes, and the directors, brothers Anthony and Joe Russo, add an uncommon sharpness to sequences of urban warfare -- these Heat-grade bullet volleys have a real ping to them.")
33
+ end
34
+
35
+ it "has a link" do
36
+ expect(review.link).to eq("http://www.timeout.com/us/film/captain-america-the-winter-soldier")
37
+ end
38
+
39
+ it "returns a formatted string representing the review" do
40
+ expect(review.to_s).to eq("Joshua Rothkopf wrote on 2014-03-27 : The Marvel faithful will turn up for the action scenes, and the directors, brothers Anthony and Joe Russo, add an uncommon sharpness to sequences of urban warfare -- these Heat-grade bullet volleys have a real ping to them.\nRating: 4/5")
41
+ end
42
+
43
+ it "can be converted back to a hash" do
44
+ expect(review.to_hash).to eq({ author: "Joshua Rothkopf",
45
+ date: Date.parse("2014-03-27"),
46
+ rating: "fresh",
47
+ source: "Time Out New York",
48
+ quote: "The Marvel faithful will turn up for the action scenes, and the directors, brothers Anthony and Joe Russo, add an uncommon sharpness to sequences of urban warfare -- these Heat-grade bullet volleys have a real ping to them.",
49
+ link: "http://www.timeout.com/us/film/captain-america-the-winter-soldier",
50
+ original_score: "4/5"})
51
+ end
52
+ end
@@ -6,13 +6,13 @@ require 'worth_watching/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "worth_watching"
8
8
  spec.version = WorthWatching::VERSION
9
- spec.authors = ["Sandro"]
9
+ spec.authors = ["http://github.com/alessndro"]
10
10
  spec.email = ["sandro@?.com"]
11
11
  spec.description = %q{Retrieve the ratings of a movie from IMDB, Rotten
12
12
  Tomatoes and Metacritic}
13
13
  spec.summary = %q{Retrieve the ratings of a movie from IMDB, Rotten
14
14
  Tomatoes and Metacritic}
15
- spec.homepage = ""
15
+ spec.homepage = "http://github.com/alessndro/worth_watching"
16
16
  spec.license = "MIT"
17
17
 
18
18
  spec.files = `git ls-files`.split($/)
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency "json"
29
29
  spec.add_dependency "nokogiri"
30
- spec.add_dependency "httparty"
30
+ spec.add_dependency "typhoeus"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: worth_watching
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Sandro
7
+ - http://github.com/alessndro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-30 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: httparty
98
+ name: typhoeus
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -123,13 +123,15 @@ files:
123
123
  - LICENSE.txt
124
124
  - README.md
125
125
  - Rakefile
126
- - config/example_config.yml
127
126
  - lib/worth_watching.rb
128
127
  - lib/worth_watching/aggregator.rb
129
128
  - lib/worth_watching/movie.rb
130
129
  - lib/worth_watching/version.rb
131
130
  - lib/worth_watching/written_review.rb
132
131
  - spec/support/html_responses/toy_story_mc.html
132
+ - spec/support/json_responses/0_movie_search_result.json
133
+ - spec/support/json_responses/1_movie_search_result.json
134
+ - spec/support/json_responses/3_movie_search_result.json
133
135
  - spec/support/json_responses/rt_top_16_dvd_rentals.json
134
136
  - spec/support/json_responses/rt_top_16_in_cinemas.json
135
137
  - spec/support/json_responses/toy_story_omdb.json
@@ -140,8 +142,9 @@ files:
140
142
  - spec/test_helper.rb
141
143
  - spec/unit/aggregator_spec.rb
142
144
  - spec/unit/movie_spec.rb
145
+ - spec/unit/written_review_spec.rb
143
146
  - worth_watching.gemspec
144
- homepage: ''
147
+ homepage: http://github.com/alessndro/worth_watching
145
148
  licenses:
146
149
  - MIT
147
150
  metadata: {}
@@ -167,6 +170,9 @@ specification_version: 4
167
170
  summary: Retrieve the ratings of a movie from IMDB, Rotten Tomatoes and Metacritic
168
171
  test_files:
169
172
  - spec/support/html_responses/toy_story_mc.html
173
+ - spec/support/json_responses/0_movie_search_result.json
174
+ - spec/support/json_responses/1_movie_search_result.json
175
+ - spec/support/json_responses/3_movie_search_result.json
170
176
  - spec/support/json_responses/rt_top_16_dvd_rentals.json
171
177
  - spec/support/json_responses/rt_top_16_in_cinemas.json
172
178
  - spec/support/json_responses/toy_story_omdb.json
@@ -177,3 +183,4 @@ test_files:
177
183
  - spec/test_helper.rb
178
184
  - spec/unit/aggregator_spec.rb
179
185
  - spec/unit/movie_spec.rb
186
+ - spec/unit/written_review_spec.rb