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
Example #4
0
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))
Example #5
0
def moviesbyactor(catalog, actor):
    return model.getMoviesByActor(catalog, actor)
Example #6
0
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
Example #8
0
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