Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleander/icheckmovies
Unofficial API for iCheckMovies.com
https://github.com/oleander/icheckmovies
Last synced: about 2 months ago
JSON representation
Unofficial API for iCheckMovies.com
- Host: GitHub
- URL: https://github.com/oleander/icheckmovies
- Owner: oleander
- Created: 2011-09-21T22:57:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-02-28T20:56:16.000Z (almost 13 years ago)
- Last Synced: 2024-11-18T09:24:19.540Z (about 2 months ago)
- Language: Ruby
- Homepage: https://github.com/oleander/icheckmovies
- Size: 374 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ICheckMovies
Get easy access to any public [ICheckMovies](http://www.icheckmovies.com/) [list](http://www.icheckmovies.com/list/the+best+1000+movies+ever+made/).
## How to use
### Find by url
``` ruby
require "icheckmovies"
check = ICheckMovies.fetch("http://www.icheckmovies.com/list/the+best+1000+movies+ever+made/")check.name # => The Best 1,000 Movies Ever Made
check.movies.count # => 1002
check.movies.first.title # => À nous la liberté
```## Data to work with
### Accessors
- **name** (String) List name.
- **url** (String) Full URL to the given list.
- **movies** (Array< Movie >) A list of movies.### A movie object
The `movies` method returns a list of movies.
- **id** (String) IMDb movie id.
- **imdb_link** (String) IMDb link.
- **title** (String) Movie title.
- **year** (Fixnum) Release year.
- **details** (String) Url to ICheckMovies detail page.
- **order** (Fixnum) Where is the movie?## How do install
[sudo] gem install icheckmovies
## Requirements
*ICheckMovies* is tested in OS X 10.7.1 using Ruby 1.9.2.
## License
*ICheckMovies* is released under the MIT license.