WebService-GData
view release on metacpan or search on metacpan
lib/WebService/GData/YouTube/Constants.pm view on Meta::CPAN
STAGING_API_DOMAIN_URI =>'http://stage.gdata.youtube.com/',
UPLOAD_BASE_URI => 'http://uploads.gdata.youtube.com/feeds/',
STAGING_UPLOAD_BASE_URI=>'http://uploads.stage.gdata.youtube.com/feeds/',
YOUTUBE_NAMESPACE => 'xmlns:yt="http://gdata.youtube.com/schemas/2007"',
MOBILE_H263 => 1,
H263 => 1,
MPEG4 => 6,
MOBILE_MPEG4 => 6,
EMBEDDABLE => 5,
TODAY => 'today',
WEEK => 'this_week',
MONTH => 'this_month',
ALL_TIME => 'all_time',
NONE => 'none',
MODERATE => 'moderate',
STRICT => 'strict',
L0 => 'none',
lib/WebService/GData/YouTube/Constants.pm view on Meta::CPAN
PUBLISHED => 'published',
VIEW_COUNT => 'viewCount',
RATING => 'rating',
POSITION => 'position',
COMMENT_COUNT => 'commentCount',
DURATION => 'duration'
};
my @general = qw(PROJECTION BASE_URI UPLOAD_BASE_URI API_DOMAIN_URI STAGING_BASE_URI STAGING_UPLOAD_BASE_URI STAGING_API_DOMAIN_URI);
my @namespace = qw(YOUTUBE_NAMESPACE);
my @format = qw(MOBILE_H263 H263 MPEG4 MOBILE_MPEG4 EMBEDDABLE);
my @time = qw(TODAY WEEK MONTH ALL_TIME);
my @safe = qw(NONE MODERATE STRICT L0 L1 L2);
my @order =
qw(RELEVANCE PUBLISHED VIEW_COUNT RATING POSITION COMMENT_COUNT DURATION);
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = ( @format, @time, @safe, @order, @general,@namespace );
our %EXPORT_TAGS = (
general => [@general],
lib/WebService/GData/YouTube/Constants.pm view on Meta::CPAN
map the format of value 1.
=head3 MPEG4
map the format of value 6.
=head3 MOBILE_MPEG4
map the format of value 6.
=head3 EMBEDDABLE
map the format of value 5.
See also L<http://code.google.com/intl/en/apis/youtube/2.0/reference.html#formatsp> for further information about the available formats.
I<import with :format>
=head2 TIME CONSTANTS
The time consants map the available times used as of version 2 of YouTube Service API for the standard feeds.
( run in 0.722 second using v1.01-cache-2.11-cpan-3fabe0161c3 )