Simple example for youtube upload?

86 views
Skip to first unread message

J

unread,
Sep 2, 2008, 4:44:19 PM9/2/08
to GData Python Client Library Contributors
Does anyone have a simple example of uploading a file to youtube?
Unfortunately, I can't find one anywhere. Eventually, this will be
embedded in a desktop app, so I'm looking for something using
ProgrammaticLogin().

The official examples only include a query and a web-based upload
(http://code.google.com/apis/youtube/code.html).

thanks,
jay

Jochen Hartmann (Google)

unread,
Sep 3, 2008, 1:47:59 PM9/3/08
to GData Python Client Library Contributors
Hi,

The best place to look would be in the unit-tests. There is a test
that performs and upload, metadata update and deletion of a video
file:

http://code.google.com/p/gdata-python-client/source/browse/trunk/tests/gdata_tests/youtube/service_test.py#125

Cheers,
- Jochen
Reply all
Reply to author
Forward
0 new messages