Get a resource on TMDB.

def get_on_tmdb(uri, **kwargs):
    """ Get a resource on TMDB.
    """
    kwargs['api_key'] = app.config['TMDB_API_KEY']
    response = requests_session.get((TMDB_API_URL + uri).encode('utf8'), params=kwargs)
    response.raise_for_status()
    return json.loads(response.text)