Business-YQL

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

name: Business-YQL
requires:
  Carp: 0
  HTTP::Request::Common: 0
  JSON: 0
  LWP::UserAgent: 0
  List::Util: 1.35
  Log::Any: 0.15
  Log::Any::Adapter: 0.11
  Moo: 1.004002
  Try::Tiny: 0
  URI: 0
  URI::QueryParam: 0
version: 0.0004

Makefile.PL  view on Meta::CPAN

  "NAME" => "Business::YQL",
  "PREREQ_PM" => {
    "Carp" => 0,
    "HTTP::Request::Common" => 0,
    "JSON" => 0,
    "LWP::UserAgent" => 0,
    "List::Util" => "1.35",
    "Log::Any" => "0.15",
    "Log::Any::Adapter" => "0.11",
    "Moo" => "1.004002",
    "Try::Tiny" => 0,
    "URI" => 0,
    "URI::QueryParam" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Log::Any::Adapter" => "0.11",
    "Log::Dispatch" => 0,
    "Test::More" => 0,

Makefile.PL  view on Meta::CPAN

  "IPC::Open3" => 0,
  "JSON" => 0,
  "LWP::UserAgent" => 0,
  "List::Util" => "1.35",
  "Log::Any" => "0.15",
  "Log::Any::Adapter" => "0.11",
  "Log::Dispatch" => 0,
  "Moo" => "1.004002",
  "Test::More" => 0,
  "Test::Most" => 0,
  "Try::Tiny" => 0,
  "URI" => 0,
  "URI::QueryParam" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};

lib/Business/YQL.pm  view on Meta::CPAN


our $VERSION = '0.0004'; # VERSION

use HTTP::Request::Common qw(GET POST);
use URI;
use URI::QueryParam;
use LWP::UserAgent;
use JSON qw(to_json from_json);
use Carp qw(croak);
use Log::Any qw($log);
use Try::Tiny;

has scheme  => (is => 'ro', default => 'http'                           );
has domain  => (is => 'ro', default => 'query.yahooapis.com'            );
has version => (is => 'ro', default => 'v1'                             );
has timeout => (is => 'ro', default => 10                               );
has retries => (is => 'ro', default => 3                                );

has uri     => (
    is      => 'ro',
    lazy    => 1,



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