'Get TMDB movie data'

@etag
@api.response(200, model=return_schema)
@api.response(NotFoundError)
@api.response(BadRequest)
@api.doc(parser=tmdb_parser)
def get(self, session=None):

    args = tmdb_parser.parse_args()
    title = args.get(u'title')
    tmdb_id = args.get(u'tmdb_id')
    imdb_id = args.get(u'imdb_id')
    posters = args.pop(u'include_posters', False)
    backdrops = args.pop(u'include_backdrops', False)
    if (not (title or tmdb_id or imdb_id)):
        raise BadRequest(description)
    lookup = get_plugin_by_name(u'api_tmdb').instance.lookup
    try:
        movie = lookup(session=session, **args)
    except LookupError as e:
        raise NotFoundError(e.args[0])
    return_movie = movie.to_dict()
    if posters:
        return_movie[u'posters'] = [p.to_dict() for p in movie.posters]
    if backdrops:
        return_movie[u'backdrops'] = [p.to_dict() for p in movie.backdrops]
    return jsonify(return_movie)
