YiPy
A Python wrapper for Yify API
Only public methods are implemented, no authorization required.
Examples
from yipy.api import Yipy
api = Yipy()
# Get movies list
movie_list = api.list()
# Get movie details
movie_details = api.movie_details(movie_id=5496)
# Get movie suggestions
movie_suggestions = api.movie_suggestions(movie_id=5496)
# Get movie comments
movie_comments = api.movie_comments(movie_id=5496)
# Get movie reviews
movie_reviews = api.movie_reviews(movie_id=5496)
# Get movie parental guides
movie_parental_guides = api.movie_parental_guides(movie_id=5496)
# Get list upcoming movies
list_upcoming_movies = api.list_upcoming_movies()
# Get user details
user_details = api.user_details(user_id=16)
Available methods
list
Used to list and search through out all the available movies. Can sort, filter, search and order the results.
Parameters:
-
limit(int, optional): between 1 - 50 (inclusive) - The limit of results per page that has been set -
page(int, optional): Used to see the next page of movies - eg: limit=15 and page=2 will show you movies 15-30 -
quality(str, optional): Used to filter by quality.720p1080p3D
-
minimum_rating(int, optional): between 0 - 9 (inclusive)- Used to filter movie by a given minimum IMDb rating
-
query_term(str, optional): Used for movie search, matching on:- Movie Title/IMDb Code
- Actor Name/IMDb Code
- Director Name/IMDb Code
-
genre(str, optional): Used to filter by a given genre- See here for full list
-
sort_by(str, optional): Sorts the results by choosen value:titleyearratingpeersseedsdownload_countlike_countdate_added
-
order_by(str, optional):ascordescOrders the results by either Ascending or Descending order -
with_rt_ratings(bool, optional): - Returns the list with the Rotten Tomatoes rating included
movie_details
Returns the information about a specific movie.
Parameters:
-
movie_id(int): The ID of the movie -
with_images(bool, optional): When set the data returned will include the added image URLs -
with_cast(bool, optional): When set the data returned will include the added information about the cast
movie_suggestions
Returns 4 related movies as suggestions for the user.
Parameters:
movie_id(int): The ID of the movie
movie_comments
Returns all the comments for the specified movie.
Parameters:
movie_id(int): The ID of the movie
movie_reviews
Returns all the IMDb movie reviews for the specified movie.
Parameters:
movie_id(int): The ID of the movie
movie_parental_guides
Returns all the parental guide ratings for the specified movie.
Parameters:
movie_id(int): The ID of the movie
list_upcoming_movies
Returns the 4 latest upcoming movies.
user_details
Get a user's details.
Parameters:
-
user_id(int): The ID of the user -
with_recently_downloaded(bool, optional): If set it will add the most recent downloads by the given user
Metadata
Release files for yipy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yipy-1.0.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yipy-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.9 kB
Release files / yipy-1.0.0.tar.gz
| Download URL | yipy-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cd018eaa1d79b38780150c72cc43bf07bc507bb09e19ea62c934b23525efdf1
|
|
BLAKE2b-256 checksum How to use checksums |
4adcd4a8cec965773e4b87fa23a7388e978fc36a8783de40206c7de1977e8bdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / yipy-1.0.0-py2.py3-none-any.whl
| Download URL | yipy-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a2966ae79ce26ca28ccf3ecf3441e464414d6d60092ed146be969db2c298c404
|
|
BLAKE2b-256 checksum How to use checksums |
490a0ffbbb9d620ae2c47b8aa25fb6700881b6b4fa75113a897b8d37fae733c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|