Skip to content

(Unofficial) Python API for the torrent website EZTV.it

License

Notifications You must be signed in to change notification settings

keeb-zz/eztv_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EZTV API

This is the (unofficial) Python API for EZTV.it

Using this code, you can manage to get the information regarding any TV Show which is listed on EZTV.it See how to use it thanks to the file "APIExample.py".

Installation

To use this API, you need BeautifulSoup installed.
Then, you can start using the EZTV API.

Usage

Start by importing the API file

from eztvAPI import *

Then, you can search for a specific TV Show

test_api = eztvAPI().TV_Show('Game Of Thrones')

The search is not case sensitive so : "Game Of Thrones" equals "GaMe oF ThRoNeS" equals "games of thrones" ...

Iterate on all the seasons :

# get all the seasons from Game Of Thrones
seasons = test_api.seasons()
for season in seasons:
    for episode in seasons[season]:
        # will print the magnet link of all episodes, in all seasons
        print seasons[season][episode]

Iterate on a specific season

# specific season
episodes = test_api.season(3)
for episode in episodes:
    # will print the magnet link for all episodes
    print episodes[episode]

Get a specific episode

# specific episode
print test_api.episode(3, 10)

Conclusion (& License)

Feel free to give feedbacks and ask for new features.

API released under license GLPv3.

About

(Unofficial) Python API for the torrent website EZTV.it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%