Eric R. Meyers > WWW-YouTube-2008.0728 > youtube/video/video.plx

Download:
WWW-YouTube-2008.0728.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

youtube/video/video.plx - YouTube Developers Interface, XML-RPC API demo.

SYNOPSIS ^

It's time for you to see the YouTube Developer API's page: http://www.youtube.com/dev

$ mkdir ~/youtube

$ mkdir ~/youtube/video ## video application and data directory (We're not storing videos here)

$ GET

http://search.cpan.org/src/ERMEYERS/WWW-YouTube-2008.0728/youtube/video/video.plx

> ~/youtube/video/video.plx

$ chmod +x ~/youtube/video/video.plx

$ ~/youtube/video/video.plx

WWW::YouTube::XML::API::action{ugp_cache}:

Calling $WWW::YouTube::XML::API::action{ugp_call}

WWW::YouTube::XML::API::action{ulfv_cache}:

Calling $WWW::YouTube::XML::API::action{ulfv_call}

WWW::YouTube::XML::API::action{ulf_cache}:

Calling $WWW::YouTube::XML::API::action{ulf_call}

WWW::YouTube::XML::API::action{vlf_call}:

WWW::YouTube::XML::API::action{vgd_cache}:

Calling $WWW::YouTube::XML::API::action{vlf_call}

Calling $WWW::YouTube::XML::API::action{vgd_call}

WWW::YouTube::XML::API::action{vlbt_cache}:

Calling $WWW::YouTube::XML::API::action{vlbt_call}

WWW::YouTube::XML::API::action{vlbu_cache}:

Calling $WWW::YouTube::XML::API::action{vlbu_call}

WWW::YouTube::XML::API::action{vlf_cache}:

Calling $WWW::YouTube::XML::API::action{vlf_call}

What else just happened?

$ ls -1 ~/youtube/video

lwpcookies_username.txt ## your YouTube username cookies

ugp_cache ## ugp = youtube.users.get_profile

ulf_cache ## ulf = youtube.users.list_friends

ulfv_cache ## ulfv = youtube.users.list_favorite_videos

vgd_cache ## vgd = youtube.videos.get_details

video.plx

vlbt_cache ## vlbt = youtube.videos.list_by_tag

vlbu_cache ## vlbu = youtube.videos.list_by_user

vlf_cache ## vlf = youtube.videos.list_featured

Look at my YouTube profile returned from the ugp_call and stored in the ugp_cache:

$ man XML::Dumper

$ zcat ~/youtube/video/ugp_cache/ermeyers.xml.gz | more

Options;

--help|? brief help message

--man full documentation

OPTIONS ^

--help|?

Print a brief help message and exits.

--man

Prints the manual page and exits.

DESCRIPTION ^

Users/Videos data:

YouTube XML-RPC API demo for initial testing, training and your own WWW::YouTube Development Environment setup purpose.

SEE ALSO ^

WWW::YouTube WWW::YouTube::Com WWW::YouTube::ML WWW::YouTube::XML WWW::YouTube::HTML

AUTHOR ^

 Copyright (C) 2006 Eric R. Meyers E<lt>ermeyers@adelphia.netE<gt>
syntax highlighting: