Catmandu-EuropePMC

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  "dist_name" => "Catmandu-EuropePMC",
  "dist_version" => "1.011",
  "license" => "perl",
  "module_name" => "Catmandu::EuropePMC",
  "recursive_test_files" => 1,
  "requires" => {
    "Catmandu" => 0,
    "Catmandu::XML" => 0,
    "Furl" => 0,
    "Moo" => 0,
    "Try::Tiny" => 0,
    "perl" => "v5.10.1"
  },
  "test_requires" => {
    "Test::Exception" => "0.32",
    "Test::More" => "0.88"
  }
);


my %fallback_build_requires = (

Changes  view on Meta::CPAN

0.12  2014-04-29 11:40:51 CEST
	- removed dependency XML::Simple and LWP::UserAgent

0.11  2014-03-05 15:25:38 CET
	- tests improved

v0.10  2014-01-13 07:44:19 CET
	- typo

v0.08  2014-01-07 15:56:49 CET
	- better error handling, Try::Tiny

v0.07  2013-12-19 10:04:28 CET
	- pod

v0.06  2013-12-18 16:37:50 CET
	- default option added
	- tests extended

0.05  2013-12-18 14:58:20 CET
	- again tests

META.json  view on Meta::CPAN

            "Dist::Milla" : "v1.0.20",
            "Test::Pod" : "1.41"
         }
      },
      "runtime" : {
         "requires" : {
            "Catmandu" : "0",
            "Catmandu::XML" : "0",
            "Furl" : "0",
            "Moo" : "0",
            "Try::Tiny" : "0",
            "perl" : "v5.10.1"
         }
      },
      "test" : {
         "requires" : {
            "Test::Exception" : "0.32",
            "Test::More" : "0.88"
         }
      }
   },

META.yml  view on Meta::CPAN

    - examples
    - inc
    - share
    - t
    - xt
requires:
  Catmandu: '0'
  Catmandu::XML: '0'
  Furl: '0'
  Moo: '0'
  Try::Tiny: '0'
  perl: v5.10.1
resources:
  bugtracker: https://github.com/LibreCat/Catmandu-EuropePMC/issues
  homepage: https://github.com/LibreCat/Catmandu-EuropePMC
  repository: https://github.com/LibreCat/Catmandu-EuropePMC.git
version: '1.011'
x_contributors:
  - 'Vitali Peil <vitali.peil@uni-bielefeld.de>'
x_deprecated: 1
x_generated_by_perl: v5.30.0

cpanfile  view on Meta::CPAN


on test => sub {
    requires 'Test::More', '>=0.88';
    requires 'Test::Exception', '>=0.32';
};

requires 'Catmandu';
requires 'Moo';
requires 'Furl';
requires 'Catmandu::XML';
requires 'Try::Tiny';

lib/Catmandu/Importer/EuropePMC.pm  view on Meta::CPAN

package Catmandu::Importer::EuropePMC;

our $VERSION = '1.011';

use Catmandu::Sane;
use Catmandu::Importer::XML;
use Try::Tiny;
use Furl;
use Moo;

with 'Catmandu::Importer';

use constant BASE_URL => 'https://www.ebi.ac.uk/europepmc/webservices/rest';

has base_url   => ( is => 'ro', default => sub { return BASE_URL; } );
has source => ( is => 'ro', default => sub { return "MED"; } );
has module => ( is => 'ro', default => sub { return "search"; } );



( run in 0.755 second using v1.01-cache-2.11-cpan-05444aca049 )