tvrage3 package

Submodules

tvrage3.api module

class tvrage3.api.Show(show_id=None, quick_info=None, full_info=None, search_info=None)[source]

Bases: object

Information about a tvshow. Should be initialized by the TVRage search object. If the requests information about a show is unavailable then it will return None.

air_day

What day new episodes are televised in the country of orgin

air_time

What time new episodes are televised in the country of origin

classification

The classification of the show

country

Country the show was produced for

ended_year

The year the show ended

genres

The genres of the show

The link to the tvrage page with more info about the show

name

The name of the show

network

What country/network the show is running on

runtime

How many minutes an episode of the show is

seasons

Number of seasons the show has ran

show_id

Show id as a string

started_year

The year the show started

status

Current status of the show

tvrage3.search module

tvrage3.search.quick_info(name, exact=False)[source]

Search tvrage for name, will return the first match as a Show object. If nothing is found it will return ‘None’ value. If exact is ‘True’ then it will only return an exact match against search term.

tvrage3.search.search(name)[source]

Search tvrage for name, will return all search results as a list of ‘Show’ objects.

tvrage3.search.search_id(id)[source]

Will return ‘Show’ object with show of supplied id. If no show is found with with supplied id then ‘None’ value is returned.

Module contents