use WebService::GData::YouTube::Query;
use WebService::GData::Constants qw(:all);
#create an object that only has read access
my $query = new WebService::GData::YouTube::Query();
$query->safe_search('none')->orderby('rating')->caption('true')->time('today');

use WebService::GData::YouTube::Query;
#create an object that only has read access
my $query = new WebService::GData::YouTube::Query();
$query->to_query_string();# by default:?alt=json&v=2&prettyprint=false&strict=true