Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manycoding/imdb-parser
Fetch ratings through OMDB API
https://github.com/manycoding/imdb-parser
Last synced: about 2 months ago
JSON representation
Fetch ratings through OMDB API
- Host: GitHub
- URL: https://github.com/manycoding/imdb-parser
- Owner: manycoding
- Created: 2015-01-21T03:18:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-26T05:44:22.000Z (almost 10 years ago)
- Last Synced: 2023-02-27T15:03:11.653Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 223 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# imdb-parser
This is a simple script to read movies data (title&year) from CSV, get their rating from IMDB through OMDB API, and write down the list, sorted by rating. Parallelizing is done through Celluloid## Dependencies
CSV
omdb https://github.com/jvanbaarsen/omdb
celluloid
## Installation
Get ruby and gems if you still haven't - http://rubyinstaller.org/
Download omdb https://github.com/jvanbaarsen/omdb$ gem install celluloid
$ cd omdb_folder
$ gem build omdb.gemspec
$ gem install omdb-1.0.4.gem## Usage
input file format - CSV file, including title, year (optional) (sample input)[https://drive.google.com/file/d/0B-mR_eT8iE68NU1JcEMycmJ4R00/view]
output - title year -- rating$ ruby imdbParser.rb input.csv
$ ruby imdbParser.rb input.csv output.txt## Contributing
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request