Catalyst::Model::YouTube - Catalyst Model for the YouTube Web Services
# use the helper myapp/script/myapp_create.pl create model YouTube YouTube [dev_id] # lib/MyApp/Model/YouTube.pm package MyApp::Model::YouTube; use base 'Catalyst::Model::YouTube'; __PACKAGE__->config( dev_id => 'yourdevid' ); 1; # In a controller: @videos = $c->model('YouTube')->list_featured;
A simple model class that interfaces with WebService::YouTube to query the YouTube webservice APIs to fetch and display videos.
Initialized the YouTube object.
Catalyst, WebService::YouTube
J. Shirley <jshirley@gmail.com>
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Model::YouTube, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::YouTube
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::YouTube
For more information on module installation, please visit the detailed CPAN module installation guide.