def getMoviesByActor(catalog, actorname): """ RETO2 - REQ3 Retorna las pelĂculas de un actor """ actorinfo = model.getMoviesByActor(catalog, actorname) return actorinfo
def getMoviesByActor(catalog, actor_name): actor = model.getMoviesByActor(catalog, actor_name) director = actor["most_feat"] movies = actor['movies'] size = model.moviesSize(movies) avarage = (actor["vote_average"] / int(size)) return (movies, size, avarage, director)
def getMoviesByActor(catalog, actorname): """ Retorna las pelĂculas de un actor """ actorinfo = model.getMoviesByActor(catalog, actorname) actorinfo["DirectorMaxCol"] = model.masrepetido( actorinfo["directors"]["elements"]) return actorinfo
def getMoviesByActor(catalog, actor_name): actor = model.getMoviesByActor(catalog, actor_name) return (actor["movies"], model.moviesSize(movies), (actor["vote_average"] / int(size)), model.getMostFeaturedDirector(actor))
def moviesbyactor(catalog, actor): return model.getMoviesByActor(catalog, actor)
def getMoviesByActor(catalog, actorname): actor_info = model.getMoviesByActor(catalog, actorname) return actor_info
def getMoviesByActor(catalog, actor): 'Retorna las peliculas segun el director' actorMovies = model.getMoviesByActor(catalog, actor) return actorMovies
def getMoviesByActor(catalog, actorName): moviesByActor = model.getMoviesByActor(catalog, actorName) return moviesByActor
def getMoviesByActor(catalog, actor_name): return model.getMoviesByActor(catalog, actor_name)
def getMoviesByActor(catalog, actor_name): """ Retorna las peliculas de un director """ actorinfo = model.getMoviesByActor(catalog, actor_name) return actorinfo
def getMoviesByActor(catalog, directorname): directorinfo = model.getMoviesByActor(catalog, directorname) return directorinfo
def MoviesByActor(catalog, actorname): """Designed by: Juliana Andrea Galeano Caicedo""" actorinfo = m.getMoviesByActor(catalog, actorname) return actorinfo