Zend_Gdata_YouTubeService class for interacting with the YouTube Data API.
Located in /Gdata/YouTube.php (line 85)
Zend_Gdata_App | --Zend_Gdata | --Zend_Gdata_Media | --Zend_Gdata_YouTube
STANDARD_RECENTLY_FEATURED_URI = 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured'
STANDARD_RECENTLY_FEATURED_URI_V2 =
'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured'
STANDARD_WATCH_ON_MOBILE_URI_V2 =
'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile'
array
getFormUploadToken
(Zend_Gdata_YouTube_VideoEntry $videoEntry, [string $url = 'http://gdata.youtube.com/action/GetUploadToken'])
Zend_Gdata_YouTube_PlaylistListFeed
getPlaylistListFeed
([string $user = null], [mixed $location = null])
Zend_Gdata_YouTube_VideoFeed
getRelatedVideoFeed
([string $videoId = null], [mixed $location = null])
Zend_Gdata_YouTube_SubscriptionListFeed
getSubscriptionFeed
([string $user = null], [mixed $location = null])
Zend_Gdata_YouTube_UserProfileEntry
getUserProfile
([string $user = null], [mixed $location = null])
Zend_Gdata_YouTube_CommentFeed
getVideoCommentFeed
([string $videoId = null], [mixed $location = null])
Zend_Gdata_YouTube_VideoEntry
getVideoEntry
([mixed $videoId = null], [mixed $location = null], [boolean $fullEntry = false])
Zend_Gdata_YouTube_VideoFeed
getVideoResponseFeed
([string $videoId = null], [mixed $location = null])
Zend_Gdata_YouTube_InboxEntry|null
sendVideoMessage
(string $body, [Zend_Gdata_YouTube_VideoEntry $videoEntry = null], [string $videoId = null], string $recipientUserName)
Zend_Gdata_App
setHttpClient
(Zend_Http_Client $client, [ $applicationId = 'MyCompany-MyApp-1.0'], [ $clientId = null], [ $developerKey = null])
Zend_Gdata_YouTube
__construct
([Zend_Http_Client $client = null], [string $applicationId = 'MyCompany-MyApp-1.0'], [string $clientId = null], [string $developerKey = null])
static array
$namespaces
= array(Namespaces used for Zend_Gdata_YouTube
Inherited from Zend_Gdata
Zend_Gdata::$_defaultPostUri
Zend_Gdata::$_httpClient
Zend_Gdata::$_registeredPackages
Zend_Gdata::$_staticHttpClient
Inherited from Zend_Gdata_App
Zend_Gdata_App::$_gzipEnabled
Zend_Gdata_App::$_httpMethodOverride
Zend_Gdata_App::$_majorProtocolVersion
Zend_Gdata_App::$_maxRedirects
Zend_Gdata_App::$_minorProtocolVersion
Zend_Gdata_App::$_useObjectMapping
Zend_Gdata_App::$_verboseExceptionMessages
static parseFormUploadTokenResponse (line 650)
Helper function for parsing a YouTube token response
getActivityForUser (line 722)
Retrieves the activity feed for users
getContactFeed (line 569)
Retrieves a feed of a user's contacts
getFormUploadToken (line 699)
Retrieves a YouTube token
getFriendActivityForCurrentUser (line 753)
Retrieve the activity of the currently authenticated users friend.
getFullVideoEntry (line 305)
Retrieves a video entry from the user's upload feed.
getInboxFeedForCurrentUser (line 771)
Retrieve a feed of messages in the currently authenticated user's inbox.
getMostViewedVideoFeed (line 417)
Retrieves a feed of the most viewed videos.
getPlaylistListFeed (line 511)
Retrieves a feed which lists a user's playlist
getPlaylistVideoFeed (line 531)
Retrieves a feed of videos in a particular playlist
getRecentlyFeaturedVideoFeed (line 448)
Retrieves a feed of recently featured videos.
getRelatedVideoFeed (line 321)
Retrieves a feed of videos related to the specified video ID.
getSubscriptionFeed (line 549)
Retrieves a feed of a user's subscriptions
getTopRatedVideoFeed (line 385)
Retrieves a feed of comments related to the specified video ID.
getUserFavorites (line 610)
Retrieves a user's favorites
getUserProfile (line 631)
Retrieves a user's profile as an entry
getUserUploads (line 589)
Retrieves a user's uploads
getVideoCommentFeed (line 365)
Retrieves a feed of comments related to the specified video ID.
getVideoEntry (line 279)
Retrieves a specific video entry.
getVideoFeed (line 254)
Retrieves a feed of videos.
getVideoResponseFeed (line 343)
Retrieves a feed of video responses related to the specified video ID.
getWatchOnMobileVideoFeed (line 480)
Retrieves a feed of videos recently featured for mobile devices.
These videos will have RTSP links in the $entry->mediaGroup->content
replyToCommentEntry (line 853)
Post a comment in reply to an existing comment
sendVideoMessage (line 800)
Send a video message.
Note: Either a Zend_Gdata_YouTube_VideoEntry or a valid video ID must be provided.
setHttpClient (line 222)
Set the Zend_Http_Client object used for communication
Constructor __construct (line 202)
Create Zend_Gdata_YouTube object
Inherited From Zend_Gdata_Media
Zend_Gdata_Media::__construct()
Inherited From Zend_Gdata
Zend_Gdata::__construct()
Zend_Gdata::getEntry()
Zend_Gdata::getFeed()
Zend_Gdata::import()
Zend_Gdata::isAuthenticated()
Zend_Gdata::performHttpRequest()
Inherited From Zend_Gdata_App
Zend_Gdata_App::__construct()
Zend_Gdata_App::delete()
Zend_Gdata_App::enableRequestDebugLogging()
Zend_Gdata_App::generateIfMatchHeaderData()
Zend_Gdata_App::get()
Zend_Gdata_App::getEntry()
Zend_Gdata_App::getFeed()
Zend_Gdata_App::getGzipEnabled()
Zend_Gdata_App::getHttpClient()
Zend_Gdata_App::getHttpMethodOverride()
Zend_Gdata_App::getMajorProtocolVersion()
Zend_Gdata_App::getMaxRedirects()
Zend_Gdata_App::getMinorProtocolVersion()
Zend_Gdata_App::getNextFeed()
Zend_Gdata_App::getPreviousFeed()
Zend_Gdata_App::getStaticHttpClient()
Zend_Gdata_App::getVerboseExceptionMessages()
Zend_Gdata_App::import()
Zend_Gdata_App::importFile()
Zend_Gdata_App::importString()
Zend_Gdata_App::importUrl()
Zend_Gdata_App::insertEntry()
Zend_Gdata_App::performHttpRequest()
Zend_Gdata_App::post()
Zend_Gdata_App::prepareRequest()
Zend_Gdata_App::put()
Zend_Gdata_App::registerPackage()
Zend_Gdata_App::retrieveAllEntriesForFeed()
Zend_Gdata_App::setGzipEnabled()
Zend_Gdata_App::setHttpClient()
Zend_Gdata_App::setHttpMethodOverride()
Zend_Gdata_App::setMajorProtocolVersion()
Zend_Gdata_App::setMaxRedirects()
Zend_Gdata_App::setMinorProtocolVersion()
Zend_Gdata_App::setStaticHttpClient()
Zend_Gdata_App::setVerboseExceptionMessages()
Zend_Gdata_App::updateEntry()
Zend_Gdata_App::useObjectMapping()
Zend_Gdata_App::usingObjectMapping()
Zend_Gdata_App::__call()
ACTIVITY_FEED_MAX_USERS
= 20
(line 143)
The maximum number of users for which activity can be requested for, as enforced by the API.
ACTIVITY_FEED_URI
= 'http://gdata.youtube.com/feeds/api/events'
(line 116)
AUTH_SERVICE_NAME
= 'youtube'
(line 88)
CLIENTLOGIN_URL
= 'https://www.google.com/youtube/accounts/ClientLogin'
(line 89)
FAVORITES_URI_SUFFIX
= 'favorites'
(line 150)
The suffix for a feed of favorites.
FRIEND_ACTIVITY_FEED_URI
=
INBOX_FEED_URI
= The URI of the inbox feed for the currently authenticated user.
INBOX_URI_SUFFIX
= 'inbox'
(line 178)
The suffix for a feed of messages (inbox entries).
IN_REPLY_TO_SCHEME
= The URI of the in-reply-to schema for comments in reply to other comments.
PLAYLIST_REL
= 'http://gdata.youtube.com/schemas/2007#playlist'
(line 107)
RELATED_URI_SUFFIX
= 'related'
(line 171)
The suffix for a feed of related videos.
RESPONSES_URI_SUFFIX
= 'responses'
(line 164)
The suffix for a feed of video responses.
STANDARD_MOST_VIEWED_URI
= 'http://gdata.youtube.com/feeds/api/standardfeeds/most_viewed'
(line 92)
STANDARD_MOST_VIEWED_URI_V2
=
STANDARD_RECENTLY_FEATURED_URI
= 'http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured'
(line 93)
STANDARD_RECENTLY_FEATURED_URI_V2
=
STANDARD_TOP_RATED_URI
= 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated'
(line 91)
STANDARD_TOP_RATED_URI_V2
=
STANDARD_WATCH_ON_MOBILE_URI
= 'http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile'
(line 94)
STANDARD_WATCH_ON_MOBILE_URI_V2
=
UPLOADS_URI_SUFFIX
= 'uploads'
(line 157)
The suffix for the user's upload feed.
USER_CONTACTS_REL
= 'http://gdata.youtube.com/schemas/2007#user.contacts'
(line 111)
USER_FAVORITES_REL
= 'http://gdata.youtube.com/schemas/2007#user.favorites'
(line 112)
USER_PLAYLISTS_REL
= 'http://gdata.youtube.com/schemas/2007#user.playlists'
(line 109)
USER_SUBSCRIPTIONS_REL
= 'http://gdata.youtube.com/schemas/2007#user.subscriptions'
(line 110)
USER_UPLOADS_REL
= 'http://gdata.youtube.com/schemas/2007#user.uploads'
(line 108)
USER_URI
= 'http://gdata.youtube.com/feeds/api/users'
(line 105)
VIDEO_COMPLAINTS_REL
= 'http://gdata.youtube.com/schemas/2007#video.complaints'
(line 115)
VIDEO_RATINGS_REL
= 'http://gdata.youtube.com/schemas/2007#video.ratings'
(line 114)
VIDEO_RESPONSES_REL
= 'http://gdata.youtube.com/schemas/2007#video.responses'
(line 113)
VIDEO_URI
= 'http://gdata.youtube.com/feeds/api/videos'
(line 106)
Inherited from Zend_Gdata
Zend_Gdata::AUTH_SERVICE_NAME
Inherited from Zend_Gdata_App
Zend_Gdata_App::DEFAULT_MAJOR_PROTOCOL_VERSION
Zend_Gdata_App::DEFAULT_MINOR_PROTOCOL_VERSION
Documentation generated on Mon, 21 Jun 2010 15:53:31 -0400 by phpDocumentor 1.4.3