示例#1
0
def getDirectorTrajectory():
    director = request.args.get('director')
    response = AnalyticsFeatures.directorTrajectory(director, moviesData)
    return jsonify(response)
示例#2
0
def FlopMovies():
    # Get all the parameters from the URL string
    search_year = request.args.get('search_year')
    responseObject = AnalyticsFeatures.searchFlopMovies(
        search_year, moviesData)
    return jsonify(responseObject)
示例#3
0
def getActorTrajectory():
    actor = request.args.get('actor')
    response = AnalyticsFeatures.actorTrajectory(actor, moviesData)
    return jsonify(response)
示例#4
0
def directorGenres():
    search_director = request.args.get('search_director')
    responseObject = AnalyticsFeatures.directorGenres(search_director,
                                                      moviesData)
    return jsonify(responseObject)
示例#5
0
def analyticsGenre():
    search_year = request.args.get('search_year')
    responseObject = AnalyticsFeatures.analyticsGrenre(search_year, moviesData)
    return jsonify(responseObject)
示例#6
0
def aggregateMovies():
    responseObject = AnalyticsFeatures.moviesAggregate(moviesData)
    return jsonify(responseObject)
示例#7
0
def grossMovie():
    # Get all the parameters from the URL string
    search_year = request.args.get('search_year')
    responseObject = AnalyticsFeatures.highestGrossingMovie(
        search_year, moviesData)
    return jsonify(responseObject)