Catmandu-MediaHaven

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Dist::Milla" : "v1.0.17",
            "Test::Pod" : "1.41"
         }
      },
      "runtime" : {
         "requires" : {
            "Cache::LRU" : "0",
            "Catmandu" : "1.06",
            "Date::Parse" : "0",
            "Getopt::Long" : "0",
            "HTTP::Request" : "0",
            "IO" : "0",
            "IO::Socket::SSL" : "2.015",
            "JSON" : "0",
            "Moo" : "0",
            "REST::Client" : "0",
            "perl" : "v5.14.0"
         }
      },
      "test" : {
         "requires" : {

META.yml  view on Meta::CPAN

    - examples
    - inc
    - share
    - t
    - xt
requires:
  Cache::LRU: '0'
  Catmandu: '1.06'
  Date::Parse: '0'
  Getopt::Long: '0'
  HTTP::Request: '0'
  IO: '0'
  IO::Socket::SSL: '2.015'
  JSON: '0'
  Moo: '0'
  REST::Client: '0'
  perl: v5.14.0
resources:
  bugtracker: https://github.com/LibreCat/Catmandu-MediaHaven/issues
  homepage: https://github.com/LibreCat/Catmandu-MediaHaven
  repository: https://github.com/LibreCat/Catmandu-MediaHaven.git

cpanfile  view on Meta::CPAN

  requires 'Test::Pod','1.49';
};

requires 'Catmandu', '1.06';
requires 'Moo', 0;
requires 'Date::Parse', 0;
requires 'JSON', 0;
requires 'REST::Client', 0;
requires 'Cache::LRU', 0;
requires 'Getopt::Long', 0;
requires 'HTTP::Request', 0;
requires 'IO', 0;

# Need recent SSL to talk to https endpoint correctly
requires 'IO::Socket::SSL', '2.015';

lib/Catmandu/MediaHaven.pm  view on Meta::CPAN

REST api. See also: https://archief.viaa.be/mediahaven-rest-api

=head1 METHODS

=head2 new(url => ... , username => ... , password => ...)

Create a new connection to the MediaHaven server.

=cut
use Moo;
use HTTP::Request::Common;
use LWP::Simple;
use URI::Escape;
use JSON;
use LWP;
use Carp;
use Catmandu;
use Cache::LRU;
use REST::Client;

our $VERSION = '0.08';



( run in 1.083 second using v1.01-cache-2.11-cpan-de7293f3b23 )