Part of elisa.plugins.youtube.resource_provider View In Hierarchy
The GET method allows to retrieve lists of videos using the Youtube API feeds, or directly a given video from its Youtube id, or an image thumbnail for a video.
Line # | Kind | Name | Docs |
---|---|---|---|
75 | Method | initialize | Initialize the component. |
82 | Method | clean | Clean the component. |
95 | Method | get | GET request to the Youtube servers. |
206 | Method | post | POST request to the Youtube servers. |
Inherited from ResourceProvider:
Line # | Kind | Name | Docs |
---|---|---|---|
116 | Method | put | Put one resource into another. Both resources are identified with URIs. |
138 | Method | delete | Delete a Resource represented by a URI. |
Inherited from Component (via ResourceProvider):
Line # | Kind | Name | Docs |
---|---|---|---|
85 | Class | PathDescriptor | Undocumented |
97 | Class Method | create | Create and initialize the component. |
Inherited from Loggable (via ResourceProvider, Component):
Line # | Kind | Name | Docs |
---|---|---|---|
81 | Method | __init__ | Undocumented |
This method is called by Component.create
to finish the
initialization of a component.
Returns | a deferred called when a component is fully initialized
(type: twisted.internet.defer.Deferred
) |
This method is called when a component is not needed anymore to clean its state.
Returns | a deferred called when the component has finished cleaning its state
(type: twisted.internet.defer.Deferred
) |
It accepts the following types of URLs:
elisa.plugins.youtube.models.YoutubeVideoListModel
).
For a complete list of available feeds, see
http://code.google.com/apis/youtube/developers_guide_protocol.html#Standard_feeds
elisa.plugins.base.models.media.PlayableModel
).
elisa.plugins.base.models.media.RawDataModel
).
The contextual model is used when querying for the playable URL of a
video, if present it should be a elisa.plugins.youtube.models.YoutubeVideoModel
.
Its playable_model
will then be set to the retrieved
model.