povies

Python wrapper for YTS.ag


Keywords
yts
License
GPL-3.0
Install
pip install povies==1.1.2

Documentation

Povies v1 - Python wrapper

Description

Python 2 library for YTS. It provides search, listing and data retrieval API's for integration purposes.

Python version

Library built and tested on python2.

How to install

Package is available with PyPI

You can use pip for the installation

pip install -U povies

Functions and methods

All the callable methods are using the YTS REST API

Usage

See the examples/example.py file

# Get movies with a limit
print p.movies(10)

# Get a movie using the movie_id
print p.movie(1)

# # Get movies related to a movie using the movie_id
print p.related(1)

# Search for a movie
print p.search("ninja")

# Download a movie torrent using the movie_id
print p.download(23) # This uses your default torrent application to donwload the movie