The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Brightcove::MAPI - Brightcove Media API Wrapper

VERSION

version 0.1

SYNOPSIS

        use Brightcove::MAPI;

        my $mapi = Brightcove::MAPI->new(token => '..');

        my $read = $mapi->get(
                'search_videos', {
                        page_size => 10,
                }
        );

        my $write = $mapi->post(
                'create_video', {
                        video => {
                                name => 'file name',
                                shortDescription => 'short file description',
                        }
                }, '/tmp/video.mp4'
        );

DESCRIPTION

This distribution provides a wrapper around the Brightcove Media API:

http://support.brightcove.com/en/docs/media-api-reference/

METHODS

$mapi->get($mapi_method, \%params)

Wrapper for the read media api

$mapi->post($mapi_method, \%params)

Wrapper for the write media api

$mapi->post($mapi_method, \%params, $file_name)

Wrapper for the write media api with file upload

SEE ALSO

Brightcove Media API Reference

http://docs.brightcove.com/en/media/

Open Source @ Brightcove

http://opensource.brightcove.com/

AUTHOR

Maroun NAJM <mnajm@cinemoz.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Cinemoz.

This is free software, licensed under:

  The (three-clause) BSD License