{"ts":1371632057577,"silentsave":true,"restoring":false,"patch":[[{"diffs":[[1,"    ,-----.,--.                  ,--. ,---.   ,--.,------.  ,------.\n    '  .--./|  | ,---. ,--.,--. ,-|  || o   \\  |  ||  .-.  \\ |  .---'\n    |  |    |  || .-. ||  ||  |' .-. |`..'  |  |  ||  |  \\  :|  `--, \n    '  '--'\\|  |' '-' ''  ''  '\\ `-' | .'  /   |  ||  '--'  /|  `---.\n     `-----'`--' `---'  `----'  `---'  `--'    `--'`-------' `------'\n    ----------------------------------------------------------------- \n\n\nHi there! Welcome to Cloud9 IDE!\n\nTo get you started, we have created a small hello world application.\n\n1) Open the hello-world.js file\n\n2) Follow the run instructions in the file's comments\n    \nAnd that's all there is to it! Just have fun. Go ahead and edit the code, \nor add new files. It's all up to you! \n\nHappy coding!\nThe Cloud9 IDE team\n\n\n## Support & Documentation\n\nVisit http://docs.c9.io for documentation, or http://support.c9.io for support.\nTo watch some training videos, visit http://www.youtube.com/user/c9ide\n"]],"start1":0,"start2":0,"length1":0,"length2":948}]],"length":948}
{"contributors":[],"silentsave":false,"ts":1371632303706,"patch":[[{"diffs":[[-1,"    ,-----.,--.                  ,--. ,---.   ,--.,------.  ,------.\n    '  .--./|  | ,---. ,--.,--. ,-|  || o   \\  |  ||  .-.  \\ |  .---'\n    |  |    |  || .-. ||  ||  |' .-. |`..'  |  |  ||  |  \\  :|  `--, \n    '  '--'\\|  |' '-' ''  ''  '\\ `-' | .'  /   |  ||  '--'  /|  `---.\n     `-----'`--' `---'  `----'  `---'  `--'    `--'`-------' `------'\n    ----------------------------------------------------------------- \n\n\nHi there! Welcome to Cloud9 IDE!\n\nTo get you started, we have created a small hello world application.\n\n1) Open the hello-world.js file\n\n2) Follow the run instructions in the file's comments\n    \nAnd that's all there is to it! Just have fun. Go ahead and edit the code, \nor add new files. It's all up to you! \n\nHappy coding!\nThe Cloud9 IDE team\n\n\n## Support & Documentation\n\nVisit http://docs.c9.io for documentation, or http://support.c9.io for support.\nTo watch some training videos, visit http://www.youtube.com/user/c9ide\n"],[1,"# node-rotten\n\nnode-rotten is a simple to use NodeJS interface to the [Rotten Tomatoes API](http://developer.rottentomatoes.com/)"]],"start1":0,"start2":0,"length1":948,"length2":129}]],"length":129,"saved":false}
{"ts":1371632326747,"patch":[[{"diffs":[[0,"es.com/)"],[1,"."]],"start1":121,"start2":121,"length1":8,"length2":9}]],"length":130,"saved":false}
{"ts":1371632331875,"patch":[[{"diffs":[[0,"s.com/)."],[1,"\n\n"]],"start1":122,"start2":122,"length1":8,"length2":10}]],"length":132,"saved":false}
{"ts":1371632421531,"patch":[[{"diffs":[[0,"com/).\n\n"],[1,"## Install\n\nComing soon...\n\n## Getting Started\n\n```js\nvar r = require('./rotten')(\"YOU_API_KEY\");\n```\n\n```js\n\n```"]],"start1":124,"start2":124,"length1":8,"length2":121}]],"length":245,"saved":false}
{"ts":1371632443415,"patch":[[{"diffs":[[0,");\n```\n\n"],[1,"## Formats\n\n"],[0,"```js\n\n`"]],"start1":227,"start2":227,"length1":16,"length2":28}]],"length":257,"saved":false}
{"ts":1371632447483,"patch":[[{"diffs":[[0,"re('"],[-1,"./"],[0,"rott"]],"start1":199,"start2":199,"length1":10,"length2":8}]],"length":255,"saved":false}
{"ts":1371632487091,"patch":[[{"diffs":[[0,"equire('"],[1,"node-"],[0,"rotten')"]],"start1":195,"start2":195,"length1":16,"length2":21}]],"length":260,"saved":false}
{"ts":1371632549551,"patch":[[{"diffs":[[0,"tarted\n\n"],[1,"See the Rotten Tomatoes API [web site](http://developer.rottentomatoes.com/) to get your API key.\n"],[0,"```js\nva"]],"start1":172,"start2":172,"length1":16,"length2":114}]],"length":358,"saved":false}
{"ts":1371632592242,"patch":[[{"diffs":[[0,");\n```\n\n"],[1,"### Searching for movies based on a query string\n```js\n\n```\n\n### Searching for movies based on its id or IMDB id.\n\n"],[0,"## Forma"]],"start1":328,"start2":328,"length1":16,"length2":131}]],"length":473,"saved":false}
{"ts":1371632628784,"patch":[[{"diffs":[[0,"string\n```js"],[1,"\nr.search('The Godfather', function (err, res) {\n    if (!err) {\n        var movies = (res && res.movies) ? res.movies : [];\n        for(var i = 0, len = movies.length; i < len; i++) {\n            console.log(movies[i].id + \" : \" + movies[i].title);\n        }\n    }\n});\n```\noutputs\n```bash"],[0,"\n\n```\n\n### S"]],"start1":378,"start2":378,"length1":24,"length2":313}]],"length":762,"saved":false}
{"ts":1371632695702,"patch":[[{"diffs":[[0,"```bash\n"],[1,"12911 : The Godfather\n12926 : The Godfather, Part II\n13476 : The Godfather, Part III\n770669374 : Bonanno: A Godfather's Story (The Youngest Godfather)\n405587791 : Godfather\n# 25 more lines ..."],[0,"\n```\n\n##"]],"start1":672,"start2":672,"length1":16,"length2":208}]],"length":954,"saved":false}
{"ts":1371632811502,"patch":[[{"diffs":[[0,"com/).\n\n"],[1,"You can \n    - search for movies based on a query string\n    - get information on a single movie with its id (or IMDB id)\n    - get similar movies of a given movie id\n    - get the full cast of a movie\n    - ...\n\n"],[0,"## Insta"]],"start1":124,"start2":124,"length1":16,"length2":229},{"diffs":[[0,"PI key.\n"],[1,"\n\n"],[0,"```js\nva"]],"start1":483,"start2":483,"length1":16,"length2":18},{"diffs":[[0,"KEY\");\n```\n\n"],[-1,""],[0,"### Searchin"]],"start1":539,"start2":539,"length1":24,"length2":24},{"diffs":[[0," string\n"],[1,"\n"],[0,"```js\nr."]],"start1":592,"start2":592,"length1":16,"length2":17}]],"length":1170,"saved":false}
{"ts":1371632889340,"patch":[[{"diffs":[[0,"   - ..."],[1,"\n    \nEvery callback takes two arguments, an `error` object and a `response` object.\nIn the examples below the errors are not handled, this is not recommended."],[0,"\n\n## Ins"]],"start1":335,"start2":335,"length1":16,"length2":175}]],"length":1329,"saved":false}
{"ts":1371632921254,"patch":[[{"diffs":[[0,"g for movies"],[-1," based on"],[1,"\n\nSupply"],[0," a query str"]],"start1":722,"start2":722,"length1":33,"length2":32},{"diffs":[[0,"y string"],[1," to the `search` method."],[0,"\n\n```js\n"]],"start1":749,"start2":749,"length1":16,"length2":40}]],"length":1352,"saved":false}
{"ts":1371632989904,"patch":[[{"diffs":[[0,"es ...\n```\n\n"],[1,"If you wish to see less results :\n```js\nr.search({\n    \"query\": 'The Godfather'\n    \"limit\": 3\n}, function (err, res) {\n    if (!err) {\n        // same as above\n    }\n});\n```\nwill output\n```bash\n12911 : The Godfather\n12926 : The Godfather, Part II\n13476 : The Godfather, Part III\n```\n"],[0,"### Searchin"]],"start1":1264,"start2":1264,"length1":24,"length2":308}]],"length":1636,"saved":false}
{"ts":1371633035753,"patch":[[{"diffs":[[0,"PI key.\n"],[-1,"\n\n"],[0,"```js\nva"]],"start1":642,"start2":642,"length1":18,"length2":16},{"diffs":[[0,"method.\n"],[-1,"\n"],[0,"```js\nr."]],"start1":772,"start2":772,"length1":17,"length2":16},{"diffs":[[0,"```\n"],[1,"\n"],[0,"### "],[-1,"Searching for movies based on its id or IMDB id"],[1,"Geet information on a single movie"],[0,".\n\n#"]],"start1":1553,"start2":1553,"length1":59,"length2":47}]],"length":1621,"saved":false}
{"ts":1371633076661,"patch":[[{"diffs":[[0,"ormats\n\n"],[1,"```js\nr.get(\"12911\", function (err, res) {\n    if (!err) {\n        var movie = res || {};\n         // console.log(movie);\n    }\n});\n```\n\n```js\nr.alias(\"tt0068646\", function (err, res) {\n    if (!err) {\n        var movie = res || {};\n      //  console.log(movie);\n    }\n});\n\n```\n\n"],[0,"```js\n\n`"]],"start1":1603,"start2":1603,"length1":16,"length2":295}]],"length":1900,"saved":false}
{"ts":1371633088477,"patch":[[{"diffs":[[0,"\n       "],[-1,"  //"],[0," console"]],"start1":1700,"start2":1700,"length1":20,"length2":16},{"diffs":[[0,"    "],[-1,"var movie = res || {};\n      //  console.log(movie);"],[1,"// same as above"],[0,"\n   "]],"start1":1813,"start2":1813,"length1":60,"length2":24}]],"length":1860,"saved":false}
{"ts":1371633126052,"patch":[[{"diffs":[[0,"ended.\n\n"],[1,"Oh, and one more thing, this module is certified fresh !\n\n"],[0,"## Insta"]],"start1":496,"start2":496,"length1":16,"length2":74},{"diffs":[[0,"\n\n### Ge"],[-1,"e"],[0,"t inform"]],"start1":1614,"start2":1614,"length1":17,"length2":16},{"diffs":[[0,"e.\n\n"],[-1,"## Formats\n\n"],[0,"```j"]],"start1":1652,"start2":1652,"length1":20,"length2":8},{"diffs":[[0," }\n});\n\n```\n"],[1,"## Formats\n\n\n"],[0,"\n```js\n\n```"]],"start1":1882,"start2":1882,"length1":23,"length2":36}]],"length":1918,"saved":false}
{"ts":1371633158447,"patch":[[{"diffs":[[0,"movie.\n\n"],[1,"By supplying the movie's id (possibly retrieved thanks to a search query.\n\n"],[0,"```js\nr."]],"start1":1648,"start2":1648,"length1":16,"length2":91},{"diffs":[[0,"});\n```\n"],[1,"or by supplying the IMDB id :"],[0,"\n```js\nr"]],"start1":1855,"start2":1855,"length1":16,"length2":45}]],"length":2022,"saved":false}
{"ts":1371633199347,"patch":[[{"diffs":[[0,"\noutputs"],[-1,""],[0,""],[1," :"],[0,"\n```bash"]],"start1":1116,"start2":1116,"length1":16,"length2":18},{"diffs":[[0," res) {\n"],[-1,"    if (!err) {\n"],[0,"        "]],"start1":1445,"start2":1445,"length1":32,"length2":16},{"diffs":[[0,"me as above\n"],[-1,"    }\n"],[0,"});\n```\nwill"]],"start1":1466,"start2":1466,"length1":30,"length2":24},{"diffs":[[0,"l output"],[-1,""],[0,""],[1," :"],[0,"\n```bash"]],"start1":1489,"start2":1489,"length1":16,"length2":18},{"diffs":[[0," res) {\n"],[-1,"    if (!err) {\n"],[0,"        "]],"start1":1916,"start2":1916,"length1":32,"length2":16},{"diffs":[[0,"ove\n"],[-1,"    }\n"],[0,"});\n"],[-1,"\n"],[0,"```\n"],[1,"outputs in both cases :\n"],[0,"## F"]],"start1":1945,"start2":1945,"length1":23,"length2":40}]],"length":2005,"saved":false}
{"ts":1371633336710,"patch":[[{"diffs":[[0,"s :\n"],[-1,"## Formats\n\n\n"],[1,"```js\n{ id: 12911,\n  title: 'The Godfather',\n  year: 1972,\n  genres: [ 'Drama' ],\n  mpaa_rating: 'R',\n  runtime: 175,\n  critics_consensus: 'One of Hollywood\\'s greatest critical and commercial successes, The Godfather gets everything right; not only did the movie transcend expectations, it established new benchmarks for American cinema.',\n  release_dates: { theater: '1972-03-24', dvd: '2001-10-09' },\n  ratings:\n   { critics_rating: 'Certified Fresh',\n     critics_score: 100,\n     audience_rating: 'Upright',\n     audience_score: 97 },\n  synopsis: '',\n  posters:\n   { thumbnail: 'http://content6.flixster.com/movie/11/17/16/11171612_mob.jpg',\n     profile: 'http://content6.flixster.com/movie/11/17/16/11171612_pro.jpg',\n     detailed: 'http://content6.flixster.com/movie/11/17/16/11171612_det.jpg',\n     original: 'http://content6.flixster.com/movie/11/17/16/11171612_ori.jpg' },\n  abridged_cast:\n   [ { name: 'Marlon Brando', id: '162660428', characters: [Object] },\n     { name: 'Al Pacino', id: '162654461', characters: [Object] },\n     { name: 'James Caan', id: '162656402', characters: [Object] },\n     { name: 'John Cazale', id: '162664256', characters: [Object] },\n     { name: 'Robert Duvall', id: '162652186', characters: [Object] } ],\n  abridged_directors: [ { name: 'Francis Ford Coppola' } ],\n  studio: 'Paramount Pictures',\n  alternate_ids: { imdb: '0068646' },\n  links:\n   { self: 'http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?type=imdb&id=0068646',\n     alternate: 'http://www.rottentomatoes.com/m/godfather/',\n     cast: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/cast.json',\n     clips: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/clips.json',\n     reviews: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/reviews.json',\n     similar: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/similar.json',\n     canonical: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911.json' },\n  link_template: 'http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?type=imdb&id={alias-id}' }\n```\n### Formats\n\n### Single result format\n\n```js\n{ id: 12911,\n  title: 'The Godfather',\n  year: 1972,\n  genres: [ 'Drama' ],\n  mpaa_rating: 'R',\n  runtime: 175,\n  critics_consensus: 'One of Hollywood\\'s greatest critical and commercial successes, The Godfather gets everything right; not only did the movie transcend expectations, it established new benchmarks for American cinema.',\n  release_dates: { theater: '1972-03-24', dvd: '2001-10-09' },\n  ratings:\n   { critics_rating: 'Certified Fresh',\n     critics_score: 100,\n     audience_rating: 'Upright',\n     audience_score: 97 },\n  synopsis: '',\n  posters:\n   { thumbnail: 'http://content6.flixster.com/movie/11/17/16/11171612_mob.jpg',\n     profile: 'http://content6.flixster.com/movie/11/17/16/11171612_pro.jpg',\n     detailed: 'http://content6.flixster.com/movie/11/17/16/11171612_det.jpg',\n     original: 'http://content6.flixster.com/movie/11/17/16/11171612_ori.jpg' },\n  abridged_cast:\n   [ { name: 'Marlon Brando', id: '162660428', characters: [Object] },\n     { name: 'Al Pacino', id: '162654461', characters: [Object] },\n     { name: 'James Caan', id: '162656402', characters: [Object] },\n     { name: 'John Cazale', id: '162664256', characters: [Object] },\n     { name: 'Robert Duvall', id: '162652186', characters: [Object] } ],\n  abridged_directors: [ { name: 'Francis Ford Coppola' } ],\n  studio: 'Paramount Pictures',\n  alternate_ids: { imdb: '0068646' },\n  links:\n   { self: 'http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?type=imdb&id=0068646',\n     alternate: 'http://www.rottentomatoes.com/m/godfather/',\n     cast: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/cast.json',\n     clips: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/clips.json',\n     reviews: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/reviews.json',\n     similar: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911/similar.json',\n     canonical: 'http://api.rottentomatoes.com/api/public/v1.0/movies/12911.json' },\n  link_template: 'http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?type=imdb&id={alias-id}' }\n```\n\n### Multiple results format"],[0,"\n```"]],"start1":1977,"start2":1977,"length1":21,"length2":4259}]],"length":6243,"saved":false}
{"ts":1371633400444,"patch":[[{"diffs":[[0,"t\n```js\n"],[1,"{ total: 49,\n  movies:\n   [ { id: '12911',\n       title: 'The Godfather',\n       year: 1972,\n       mpaa_rating: 'R',\n       runtime: 175,\n       critics_consensus: 'One of Hollywood\\'s greatest critical and commercial successes, The Godfather gets everything right; not only did the movie transcend expectations, it established new benchmarks for American cinema.',\n       release_dates: [Object],\n       ratings: [Object],\n       synopsis: '',\n       posters: [Object],\n       abridged_cast: [Object],\n       alternate_ids: [Object],\n       links: [Object] },\n     { id: '12926',\n       title: 'The Godfather, Part II',\n       year: 1974,\n       mpaa_rating: 'R',\n       runtime: 200,\n       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.',\n       release_dates: [Object],\n       ratings: [Object],\n       synopsis: '',\n       posters: [Object],\n       abridged_cast: [Object],\n       alternate_ids: [Object],\n       links: [Object] },\n       \n       // ..."],[0,"\n```"]],"start1":6231,"start2":6231,"length1":12,"length2":1142}]],"length":7373,"saved":false}
{"ts":1371633441600,"patch":[[{"diffs":[[0,"    "],[1,"// ..."],[0,"\n       "],[-1,"// ..."],[1,"],\n  links:\n   { self: 'http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=The+Godfather&page_limit=30&page=1',\n     next: 'http://api.rottentomatoes.com/api/public/v1.0/movies.json?q=The+Godfather&page_limit=30&page=2' },\n  link_template: 'http://api.rottentomatoes.com/api/public/v1.0/movies.json?q={search-term}&page_limit={results-per-page}&page={page-number}' }"],[0,"\n```"]],"start1":7351,"start2":7351,"length1":22,"length2":397}]],"length":7748,"saved":false}
