Not sure how to correctly do a pull request but can you add a popular_movies and update the trending_movies function to the below format from tv.py? It should be fairly easy as the trakt API supports movies/trending?page={page}&limit={limit} and movies/popular?page={page}&limit={limit} just like the below example:
@get
def popular_shows(page=1, limit=10, extended=None):
uri = 'shows/popular?page={page}&limit={limit}'.format(
page=page, limit=limit
)
if extended:
uri += '&extended={extended}'.format(extended=extended)
data = yield uri
yield [TVShow(**show) for show in data]
@get
def trending_shows(page=1, limit=10, extended=None):
"""All :class:`TVShow`'s being watched right now"""
uri = 'shows/trending?page={page}&limit={limit}'.format(
page=page, limit=limit
)
if extended:
uri += '&extended={extended}'.format(extended=extended)
data = yield uri
yield [TVShow(**show['show']) for show in data]
Hello,
Not sure how to correctly do a pull request but can you add a popular_movies and update the trending_movies function to the below format from tv.py? It should be fairly easy as the trakt API supports
movies/trending?page={page}&limit={limit}
andmovies/popular?page={page}&limit={limit}
just like the below example: