def getDirectorTrajectory(): director = request.args.get('director') response = AnalyticsFeatures.directorTrajectory(director, moviesData) return jsonify(response)
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)
def getActorTrajectory(): actor = request.args.get('actor') response = AnalyticsFeatures.actorTrajectory(actor, moviesData) return jsonify(response)
def directorGenres(): search_director = request.args.get('search_director') responseObject = AnalyticsFeatures.directorGenres(search_director, moviesData) return jsonify(responseObject)
def analyticsGenre(): search_year = request.args.get('search_year') responseObject = AnalyticsFeatures.analyticsGrenre(search_year, moviesData) return jsonify(responseObject)
def aggregateMovies(): responseObject = AnalyticsFeatures.moviesAggregate(moviesData) return jsonify(responseObject)
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)