Skip to content

Instantly share code, notes, and snippets.

@raws
Last active December 19, 2015 09:39
Show Gist options
  • Save raws/5934896 to your computer and use it in GitHub Desktop.
Save raws/5934896 to your computer and use it in GitHub Desktop.
Output from fetch-movie-metadata.rb
ruby fetch-movie-metadata.rb '/Volumes/movies/A Fistful of Dollars (1964)'
{
"actors": [
"Clint Eastwood",
"Gian Maria Volonté",
"Marianne Koch",
"Wolfgang Lukschy"
],
"director": "Sergio Leone",
"genre": "Western",
"imdb": {
"id": "tt0058461",
"rating": 8.0,
"votes": 74498
},
"plot": "A wandering gunfighter plays two rival families against each other in a town torn apart by greed, pride, and revenge.",
"poster": "http://ia.media-imdb.com/images/M/MV5BNTQ3NzQ3MjI4Nl5BMl5BanBnXkFtZTcwNzM4NzYzNA@@._V1_SX300.jpg",
"rating": "M",
"released": {
"day": 18,
"month": 1,
"year": 1967
},
"rotten_tomatoes": {
"meter": 98,
"rating": 8.1,
"fresh": 42,
"rotten": 1,
"review": "With Akira Kurosawa's Yojimbo as his template, Sergio Leone's A Fistful of Dollars helped define a new era for the Western and usher in its most iconic star, Clint Eastwood.",
"users": {
"meter": 88,
"rating": 3.9,
"reviews": 81442
}
},
"runtime": 5940,
"studio": "MGM Home Entertainment",
"title": "A Fistful of Dollars",
"type": "movie",
"writers": [
"Adriano Bolzoni",
"Víctor Andrés Catena"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment