This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Simple wrapper for yts.to API v2.

Installing

ytspy is available on PyPI.

$ pip install ytspy

Usage

import ytspy

# Data Format: json, xml or jsonp
yts = ytspy.YTS('json')

# list movies
# Used to list and search through out all the available movies.
# Can sort, filter, search and order the results
list = yts.movie.list_movies(page=None, limit=None, quality=None,
                minimum_rating=None, genre=None, sort_by=None,
                order_by=None, query_term=None, with_rt_ratings=Non)

# movie details
# Returns the information about a specific movie
movie = yts.movie.movie_details(movie_id, with_images=False, with_cast=False)

# movie suggestions
# Returns 4 related movies as suggestions for the user
suggestions = yts.movie.movie_suggestions(movie_id)

# movie comments
# Returns all the comments for the movie with ID of 10
comments = yts.movie.movie_comments(movie_id)

# movie reviews
# Returns all the IMDb movie reviews for the specified movie
reviews = yts.movie.movie_reviews(movie_id)

# movie parental guides
# Returns all the parental guide ratings for the specified movie
parental_guides = yts.movie.movie_parental_guides(movie_id)

# list upcoming
# Returns the 4 latest upcoming movies
list_upcoming = yts.movie.list_upcoming()

YTS Endpoint Parameters

QUALITY = ['ALL', '720p', '1080p', '3D']

GENRE = [
    'ALL', 'ACTION', 'ADVENTURE', 'ANIMATION', 'BIOGRAPHY',
    'COMEDY', 'CRIME', 'DOCUMENTARY', 'DRAMA', 'FAMILY',
    'FANTASY', 'FILM-NOIR', 'HISTORY', 'HORROR', 'MUSIC',
    'MUSICAL', 'MYSTERY', 'NEWS', 'ROMANCE', 'SCI-FI',
    'SHORT', 'SPORT', 'THRILLER', 'WAR', 'WESTERN'
]

SORT = [
    'title', 'year', 'rating', 'peers', 'seeds',
    'download_count', 'like_count', 'date_added'
]

DATA_FORMAT = [
    'json', 'xml', 'jsonp'
]

URI = [
    'movie_details', 'list_movies', 'movie_suggestions',
    'movie_comments', 'movie_reviews', 'movie_parental_guides',
    'list_upcoming'
]
Release History

Release History

0.2.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ytspy-0.2.3.tar.gz (1.8 kB) Copy SHA256 Checksum SHA256 Source Sep 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting