Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install youtube-api-wrapper

How to install youtube-api-wrapper

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install youtube-api-wrapper
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.2 Available View build log
Linux (64-bit)
0.2 Available View build log
Web
 
Author
License
BSD License
Dependencies
Lastest release
version 0.2 on Aug 20th, 2013

Python Youtube API (0.2dev)

This is an library with the intent that create a happy python YouTube API (It's just a Youtube wrapper).

OAuth 2.0 is not supported yet.

Supported data APIs:

Activity: list

Channels: list

GuideCategories: list

PlaylistItems: list

Playlists: list

Search: list

Subscriptions: list

VideoCategories: list

Videos: list

Example:

In [1]: from data.api import Channels

In [2]: channels_query = Channels.list(part=("id","snippet","brandingSettings","contentDetails","invideoPromotion","statistics","topicDetails",), id="UCY-THBWXJ24cf-mXHr_nLYw")

In [3]: channels_query??

Type: Channels String Form:<data.api.Channels object at 0x9b20f4c> File: /home/lalo/dev/python/others/youtube-api/youtube/data/api.py Source: class Channels(ResourcePageInfo):

System Message: ERROR/3 (<string>, line 45)

Unexpected indentation.
url = CHANNELS_URL item_class = Channel

In [4]: channel = channels_query.items[0]

In [5]: channel? Type: Channel String Form:Channel(kind=youtube#channel,id=UCY-THBWXJ24cf-mXHr_nLYw ) File: /home/lalo/dev/python/others/youtube-api/youtube/data/resources/types.py Docstring: <no docstring>

In [6]: channel.kind Out[6]: u'youtube#channel'

In [7]: channel.snippet.title Out[9]: u'Leandro Gomez'

In [8]: channel.snippet.publishedAt Out[8]: datetime.datetime(2013, 2, 22, 1, 2, 6, tzinfo=<iso8601.iso8601.Utc object at 0x9be35ac>)

In [9]: channel.contentDetails.googlePlusUserId Out[9]: u'112345756060309912919'

Subscribe to package updates

Last updated Aug 20th, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.