Skip to content

Instantly share code, notes, and snippets.

@aliostad
Created June 15, 2012 12:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aliostad/2936353 to your computer and use it in GitHub Desktop.
Save aliostad/2936353 to your computer and use it in GitHub Desktop.
Result from Rotten Tomatoes search API
{"total":26,"movies":[{"id":"12897","title":"The Matrix","year":1999,"mpaa_rating":"R","runtime":136,"critics_consensus":"An ingenious combination of Hong Kong action, ground-breaking Hollywood FX, and an imaginative vision.","release_dates":{"theater":"1999-03-31","dvd":"1999-09-21"},"ratings":{"critics_rating":"Certified Fresh","critics_score":87,"audience_rating":"Upright","audience_score":81},"synopsis":"","posters":{"thumbnail":"http://content7.flixster.com/movie/16/90/52/1690525_mob.jpg","profile":"http://content7.flixster.com/movie/16/90/52/1690525_pro.jpg","detailed":"http://content7.flixster.com/movie/16/90/52/1690525_det.jpg","original":"http://content7.flixster.com/movie/16/90/52/1690525_ori.jpg"},"abridged_cast":[{"name":"Keanu Reeves","id":"162654049","characters":["Neo"]},{"name":"Laurence Fishburne","id":"162669090","characters":["Morpheus"]},{"name":"Carrie-Anne Moss","id":"162669130","characters":["Trinity"]},{"name":"Hugo Weaving","id":"162709905","characters":["Agent Smith"]},{"name":"Gloria Foster","id":"364627698","characters":["The Oracle"]}],"alternate_ids":{"imdb":"0133093"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/12897.json","alternate":"http://www.rottentomatoes.com/m/matrix/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/12897/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/12897/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/12897/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/12897/similar.json"}},{"id":"13008","title":"The Matrix Reloaded","year":2003,"mpaa_rating":"R","runtime":138,"critics_consensus":"A worthy sequel even if it is a little heady and less satifying than the first Matrix.","release_dates":{"theater":"2003-05-07","dvd":"2003-10-14"},"ratings":{"critics_rating":"Certified Fresh","critics_score":73,"audience_rating":"Upright","audience_score":74},"synopsis":"","posters":{"thumbnail":"http://content8.flixster.com/movie/59/86/57/5986578_mob.jpg","profile":"http://content8.flixster.com/movie/59/86/57/5986578_pro.jpg","detailed":"http://content8.flixster.com/movie/59/86/57/5986578_det.jpg","original":"http://content8.flixster.com/movie/59/86/57/5986578_ori.jpg"},"abridged_cast":[{"name":"Keanu Reeves","id":"162654049","characters":["Neo"]},{"name":"Carrie-Anne Moss","id":"162669130","characters":["Trinity"]},{"name":"Laurence Fishburne","id":"162669090","characters":["Morpheus"]},{"name":"Hugo Weaving","id":"162709905","characters":["Agent Smith"]},{"name":"Jada Pinkett Smith","id":"162673877","characters":["Niobe"]}],"alternate_ids":{"imdb":"0234215"},"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies/13008.json","alternate":"http://www.rottentomatoes.com/m/matrix_reloaded/","cast":"http://api.rottentomatoes.com/api/public/v1.0/movies/13008/cast.json","clips":"http://api.rottentomatoes.com/api/public/v1.0/movies/13008/clips.json","reviews":"http://api.rottentomatoes.com/api/public/v1.0/movies/13008/reviews.json","similar":"http://api.rottentomatoes.com/api/public/v1.0/movies/13008/similar.json"}}],"links":{"self":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=matrix&page_limit=2&page=1","next":"http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=matrix&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}"}
@jhermann
Copy link

{
   "link_template" : "http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}",
   "links" : {
      "next" : "http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=matrix&page_limit=2&page=2",
      "self" : "http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=matrix&page_limit=2&page=1"
   },
   "movies" : [
      {
         "abridged_cast" : [
            {
               "characters" : [
                  "Neo"
               ],
               "id" : "162654049",
               "name" : "Keanu Reeves"
            },
            {
               "characters" : [
                  "Morpheus"
               ],
               "id" : "162669090",
               "name" : "Laurence Fishburne"
            },
            {
               "characters" : [
                  "Trinity"
               ],
               "id" : "162669130",
               "name" : "Carrie-Anne Moss"
            },
            {
               "characters" : [
                  "Agent Smith"
               ],
               "id" : "162709905",
               "name" : "Hugo Weaving"
            },
            {
               "characters" : [
                  "The Oracle"
               ],
               "id" : "364627698",
               "name" : "Gloria Foster"
            }
         ],
         "alternate_ids" : {
            "imdb" : "0133093"
         },
         "critics_consensus" : "An ingenious combination of Hong Kong action, ground-breaking Hollywood FX, and an imaginative vision.",
         "id" : "12897",
         "links" : {
            "alternate" : "http://www.rottentomatoes.com/m/matrix/",
            "cast" : "http://api.rottentomatoes.com/api/public/v1.0/movies/12897/cast.json",
            "clips" : "http://api.rottentomatoes.com/api/public/v1.0/movies/12897/clips.json",
            "reviews" : "http://api.rottentomatoes.com/api/public/v1.0/movies/12897/reviews.json",
            "self" : "http://api.rottentomatoes.com/api/public/v1.0/movies/12897.json",
            "similar" : "http://api.rottentomatoes.com/api/public/v1.0/movies/12897/similar.json"
         },
         "mpaa_rating" : "R",
         "posters" : {
            "detailed" : "http://content7.flixster.com/movie/16/90/52/1690525_det.jpg",
            "original" : "http://content7.flixster.com/movie/16/90/52/1690525_ori.jpg",
            "profile" : "http://content7.flixster.com/movie/16/90/52/1690525_pro.jpg",
            "thumbnail" : "http://content7.flixster.com/movie/16/90/52/1690525_mob.jpg"
         },
         "ratings" : {
            "audience_rating" : "Upright",
            "audience_score" : 81,
            "critics_rating" : "Certified Fresh",
            "critics_score" : 87
         },
         "release_dates" : {
            "dvd" : "1999-09-21",
            "theater" : "1999-03-31"
         },
         "runtime" : 136,
         "synopsis" : "",
         "title" : "The Matrix",
         "year" : 1999
      },
      {
         "abridged_cast" : [
            {
               "characters" : [
                  "Neo"
               ],
               "id" : "162654049",
               "name" : "Keanu Reeves"
            },
            {
               "characters" : [
                  "Trinity"
               ],
               "id" : "162669130",
               "name" : "Carrie-Anne Moss"
            },
            {
               "characters" : [
                  "Morpheus"
               ],
               "id" : "162669090",
               "name" : "Laurence Fishburne"
            },
            {
               "characters" : [
                  "Agent Smith"
               ],
               "id" : "162709905",
               "name" : "Hugo Weaving"
            },
            {
               "characters" : [
                  "Niobe"
               ],
               "id" : "162673877",
               "name" : "Jada Pinkett Smith"
            }
         ],
         "alternate_ids" : {
            "imdb" : "0234215"
         },
         "critics_consensus" : "A worthy sequel even if it is a little heady and less satifying than the first Matrix.",
         "id" : "13008",
         "links" : {
            "alternate" : "http://www.rottentomatoes.com/m/matrix_reloaded/",
            "cast" : "http://api.rottentomatoes.com/api/public/v1.0/movies/13008/cast.json",
            "clips" : "http://api.rottentomatoes.com/api/public/v1.0/movies/13008/clips.json",
            "reviews" : "http://api.rottentomatoes.com/api/public/v1.0/movies/13008/reviews.json",
            "self" : "http://api.rottentomatoes.com/api/public/v1.0/movies/13008.json",
            "similar" : "http://api.rottentomatoes.com/api/public/v1.0/movies/13008/similar.json"
         },
         "mpaa_rating" : "R",
         "posters" : {
            "detailed" : "http://content8.flixster.com/movie/59/86/57/5986578_det.jpg",
            "original" : "http://content8.flixster.com/movie/59/86/57/5986578_ori.jpg",
            "profile" : "http://content8.flixster.com/movie/59/86/57/5986578_pro.jpg",
            "thumbnail" : "http://content8.flixster.com/movie/59/86/57/5986578_mob.jpg"
         },
         "ratings" : {
            "audience_rating" : "Upright",
            "audience_score" : 74,
            "critics_rating" : "Certified Fresh",
            "critics_score" : 73
         },
         "release_dates" : {
            "dvd" : "2003-10-14",
            "theater" : "2003-05-07"
         },
         "runtime" : 138,
         "synopsis" : "",
         "title" : "The Matrix Reloaded",
         "year" : 2003
      }
   ],
   "total" : 26
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment