Actor

A module for actor related functionality.

class pytvdbapi.actor.Actor(mirror, data, show)

Representing an Actor as provided by thetvdb.com. It Will contain all attributes as delivered from thetvdb.com, the attributes are described in more detail here. It will also contain the attribute image_url that will be the full URL to the image of the actor.

Example:

>>> from pytvdbapi import api
>>> db = api.TVDB("B43FF87DE395DF56", actors=True)
>>> show = db.get( 79349, "en" )  # Dexter
>>> show.update()
>>> actor = show.actor_objects[0]
>>> actor
'<Actor - Michael C. Hall\>'
>>> actor.Role
'Dexter Morgan'
>>> actor.image_url
'http://thetvdb.com/banners/actors/70947.jpg'

Previous topic

API

Next topic

Banner

This Page