def tmdb_tv_genre(id, page, raw=False): from resources.lib.TheMovieDB import Discover result = Discover().tv(with_genres=id, page=page, language='en') if raw: return result else: return list_tvshows(result)
def tmdb_movies_blockbusters(page, raw=False): from resources.lib.TheMovieDB import Discover result = Discover().movie(language='en', append_to_response='external_ids,videos', **{'page': page, 'sort_by': 'revenue.desc'}) if raw: return result else: return list_tmdb_movies(result)