Bing::Search::Source::Video - Video search with Bing


Bing-Search documentation Contained in the Bing-Search distribution.

Index


Code Index:

NAME

Top

Bing::Search::Source::Video - Video search with Bing

METHODS

Top

Market, Version, Adult, Options, and setOptions

See Bing::Search for documentation of these common attributes.

Video_Offset and Video_Count

Top

The default value for Video_Count is 10, with a possible range of 1 to 50.

The sum of Video_Offset and Video_Count may not exceed 1,000.

Video_Filter

Contains an arrayref of filters. Don't fiddle with tis. Use Video_setFilter instead.

Video_setFilter

Provide the name of a filter, optionally with a + to add it. Prepend a - to instead remove the filter.

A list of filters is available here: http://msdn.microsoft.com/en-us/library/dd560956.aspx.

Video_SortBy

Sort the results. Valid options are Date or Relevance.

AUTHOR

Top

Dave Houston dhouston@cpan.org, 2010

LICENSE

Top

This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.


Bing-Search documentation Contained in the Bing-Search distribution.

package Bing::Search::Source::Video;
use Moose;
extends 'Bing::Search::Source';

with 'Bing::Search::Role::VideoRequest::Count';

with qw(
Bing::Search::Role::SearchRequest::Market
Bing::Search::Role::SearchRequest::Version
Bing::Search::Role::SearchRequest::Adult
Bing::Search::Role::SearchRequest::Options
Bing::Search::Role::VideoRequest::Offset
Bing::Search::Role::VideoRequest::Filter
Bing::Search::Role::VideoRequest::SortBy
);

sub _build_source_name { 'Video' }

__PACKAGE__->meta->make_immutable;