Group
Extension

Matches 35359

Business-CPI-Gateway-MercadoPago ( T/TB/TBR/Business-CPI-Gateway-MercadoPago-0.102.tar.gz, TBR, 2013; MetaCPAN )
Business-CPI-Gateway-MercadoPago/lib/Business/CPI/Gateway/MercadoPago.pm ( view source; MetaCPAN )
I's Mercado Pago driver

use Moo;
use Carp;
use URI;
use Data::Dumper;
use LWP::UserAgent ();
use JSON;

extends 'Business::CPI::Gateway::Base';

our $VERSION = '0.102'; # VERSION

has '+currency' => 
 );
        $ua->default_header( 'Accept'       => 'application/json' );
        $ua->default_header( 'Content-Type' => 'application/json' );

        return $ua;
    },
);

has access_token => (
    
 '$auth_url': " . $r->status_line
      if $r->is_error;

    my $json         = from_json( $r->content );
    my $access_token = $json->{access_token};

    die "Coundn't retried access_token" unless
MLDBM ( C/CH/CHORNY/MLDBM-2.05.tar.gz, CHORNY, 2013; MetaCPAN )
MLDBM/lib/MLDBM.pm ( view source; MetaCPAN )
 Perl itself.

=head1 VERSION

Version 2.05

=head1 SEE ALSO

perl(1), perltie(1), perlfunc(1), L<Data::Dumper>, L<FreezeThaw>, L<Storable>, L<DBM::Deep>, L<MLDBM::Serializer::JSON>.

=cut
CPAN-Testers-Config ( D/DA/DAGOLDEN/CPAN-Testers-Config-0.002.tar.gz, DAGOLDEN, 2013; MetaCPAN )
CPAN-Testers-Config/lib/CPAN/Testers/Config.pm ( view source; MetaCPAN )
nfig;
 
     $config = CPAN::Testers::Config->read;
     $config->{global}{profile} = 'my_profile.json';
     $config->write;

=head1 DESCRIPTION

CPAN::Testers::Config provides a very simple interfac
Gentoo-MetaEbuild-Spec-MiniSpec ( K/KE/KENTNL/Gentoo-MetaEbuild-Spec-MiniSpec-0.1.1.tar.gz, KENTNL, 2013; MetaCPAN )
Gentoo-MetaEbuild-Spec-MiniSpec/lib/Gentoo/MetaEbuild/Spec/MiniSpec.pm ( view source; MetaCPAN )
S

    use Gentoo::MetaEbuild::Spec::MiniSpec;
    if( Gentoo::MetaEbuild::Spec::MiniSpec->check( json_decode( scalar slurp( $file ) ) ) ){
        print "$file is metaspec compliant\n";
    }

=head1
< C<::Spec::Base>|Gentoo::MetaEbuild::Spec::Base >>.

Everything outside that is governed by the .json files shipped in this distributions "Share" directory.

=head1 SCHEMA

    $root = {
        SCHE
Business-PayPal-Permissions ( F/FA/FAYLAND/Business-PayPal-Permissions-0.02.tar.gz, FAYLAND, 2013; MetaCPAN )
Business-PayPal-Permissions/lib/Business/PayPal/Permissions.pm ( view source; MetaCPAN )
STRACT: PayPal Permissions

use strict;
use warnings;
use Carp qw/croak/;
use LWP::UserAgent;
use JSON;
use URI::Escape 'uri_escape';
use MIME::Base64 'encode_base64';
use Digest::HMAC_SHA1 'hmac_sha1
fault_header( 'X-PAYPAL-REQUEST-DATA-FORMAT', 'JSON' )
      ;    ## JSON is more readable
    $ua->default_header( 'X-PAYPAL-RESPONSE-DATA-FORMAT', 'JSON' );
    $ua->default_header( 'X-PAYPAL-APPLIC
sions",
        Content => encode_json( \%x ) );
    return { error => [ { message => $res->status_line } ] }
      unless $res->is_success;
    my $data = decode_json( $res->content );
    return $da
Unicorn-Manager ( M/MU/MUGENKEN/Unicorn-Manager-0.006009.tar.gz, MUGENKEN, 2013; MetaCPAN )
Unicorn-Manager/lib/Unicorn/Manager/Server.pm ( view source; MetaCPAN )
nager::Server;

use 5.010;
use feature 'say';
use strict;
use warnings;
use autodie;
use Moo;
use JSON;
use Try::Tiny;
use Unicorn::Manager::Server::PreFork;

has listen => (
    is  => 'rw',
    isa 
=head1 VERSION

Version 0.006009

=head1 SYNOPSIS

The Unicorn::Manager::Server module provides a json interface to query information about running unicorn processes and users.

Also some assumption a
WebService-Dwolla ( K/KL/KLOBYONE/WebService-Dwolla-0.05.tar.gz, KLOBYONE, 2013; MetaCPAN )
WebService-Dwolla/lib/WebService/Dwolla.pm ( view source; MetaCPAN )
Dwolla;

use 5.010001;
use strict;
use warnings;

our $VERSION = '0.05';

use LWP::UserAgent;
use JSON;
use URI::Escape;
use Digest::HMAC;
use IO::File;

use constant {
    API_SERVER   => 'https://ww
bject instance.
#   url    - Request URL.
#   params - Request query parameters.
#
# Returns:
#   JSON object or false (0) on failure
sub _get
{
    my $self   = shift;
    my $url    = shift;
    my 
est query parameters.
#   include_token - Whether or not to include OAuth token.
#
# Returns:
#   JSON object or false (0) on failure
sub _post
{
    my $self          = shift;
    my $url           =
Unicorn-Manager ( M/MU/MUGENKEN/Unicorn-Manager-0.006009.tar.gz, MUGENKEN, 2013; MetaCPAN )
Unicorn-Manager/script/uc.pl ( view source; MetaCPAN )
 = 1;

use Getopt::Long qw(:config pass_through);

use Unicorn::Manager::CLI;
use IO::Socket;
use JSON;

my $HELP = <<"END";
Synopsis
    $0 [action] [options]

Actions
    help
        show this help
my $data = {
            query => $query,
            args  => [@args],
        };
        my $json = JSON->new->utf8(1);

        my $sock = IO::Socket::INET->new(
            PeerAddr => $host || 'l
         PeerPort => $port || 4242,
            Proto    => 'tcp',
        );

        my $json_string = $json->encode($data);
        my $res;

        if ( not $sock ) {
            say "Apparently 
Lingua-Translate-Bing ( M/MI/MILOVIDOV/Lingua-Translate-Bing-0.04.tar.gz, MILOVIDOV, 2013; MetaCPAN )
Lingua-Translate-Bing/lib/Lingua/Translate/Bing.pm ( view source; MetaCPAN )

use strict;
use warnings;
use utf8;
use Carp;

use LWP::UserAgent;
use LWP::Protocol::https;
use JSON::XS;
use Time::HiRes qw(clock_gettime CLOCK_MONOTONIC);
use SOAP::Lite; #+trace => 'debug'; 

=he
    if ($response) {
        my $content = $response->content;
        my $json_xs = JSON::XS->new();
        $result = $json_xs->decode($content)->{'access_token'};
    }
    unless (defined($result)
WebService-EchoNest ( N/NI/NICKL/WebService-EchoNest-0.007.tar.gz, NICKL, 2013; MetaCPAN )
WebService-EchoNest/lib/WebService/EchoNest.pm ( view source; MetaCPAN )
package WebService::EchoNest;
use Moose;
use MooseX::StrictConstructor;
use JSON::XS::VersionOneAndTwo;
use LWP::UserAgent;
use URI::QueryParam;

our $VERSION = '0.007';

has 'api_root' => (
  is     
'json' );

  return HTTP::Request->new( 'GET', $uri );
}

sub _make_request {
  my ( $self, $request ) = @_;
  my $ua = $self->ua;

  my $response = $ua->request($request);
  my $data     = from_json(
Unicorn-Manager ( M/MU/MUGENKEN/Unicorn-Manager-0.006009.tar.gz, MUGENKEN, 2013; MetaCPAN )
Unicorn-Manager/lib/Unicorn/Manager/Server/PreFork.pm ( view source; MetaCPAN )
se warnings;
use autodie;
use 5.010;

use Unicorn::Manager::CLI;
use Unicorn::Manager::Types;
use JSON;
use Try::Tiny;

extends 'Net::Server::PreFork';

has listen => (
    is  => 'rw',
    isa => Uni
rw' );
has user  => ( is => 'rw' );
has group => ( is => 'rw' );
has cli   => ( is => 'rw' );
has json  => ( is => 'rw' );

sub BUILD {
    my $self = shift;

    $self->user('nobody')       unless $s
         unless $self->port;
    $self->listen('localhost')  unless $self->listen;

    $self->json( JSON->new->utf8(1) );
    $self->cli( Unicorn::Manager::CLI->new( username => $self->user ) ) unles
WebService-Qiita ( Y/YU/YUUKI/WebService-Qiita-0.04.tar.gz, YUUKI, 2013; MetaCPAN )
WebService-Qiita/lib/WebService/Qiita/Client/Base.pm ( view source; MetaCPAN )
a::Client::Base;
use strict;
use warnings;
use utf8;

use Carp qw(croak);
use LWP::UserAgent;
use JSON;
use HTTP::Request;
use URI;

use Class::Accessor::Lite (
    new => 1,
    rw => [qw(
        ur

    my $request = HTTP::Request->new("$method" => $url);
    $request->content_type('application/json');

    if ($method eq 'GET' || $method eq 'DELETE') {
        my $uri = URI->new($url);
        
as_string);
    } elsif ($method eq 'POST' || $method eq 'PUT') {
        $request->content(JSON::encode_json $params);
    } else {
        croak "invalid http method: $method";
    }

    my $respon
Net-StackExchange2 ( G/GI/GIDEON/Net-StackExchange2-0.05.tar.gz, GIDEON, 2013; MetaCPAN )
Net-StackExchange2/lib/Net/StackExchange2/V2/Common.pm ( view source; MetaCPAN )
package Net::StackExchange2::V2::Common;

use 5.006;
use strict;
use Data::Dumper;
use JSON qw(decode_json);
use Carp;
use LWP::UserAgent;
use warnings FATAL => 'all';
use constant BASE_URL => "https:
return	decode_json($response->decoded_content);
	#StackExchange2 already returns error codes for 
	#incorrect params and requests 
	
	# if ($response->is_success) {
	# 	return	decode_json($response->d
 be a hash inside an array
	my $response = $ua->post($finalUrl, [%$queryStrHash]);
	return	decode_json($response->decoded_content);
}
sub no_params {
	my $param = shift;
	my $config = shift;
	return s
Unicorn-Manager ( M/MU/MUGENKEN/Unicorn-Manager-0.006009.tar.gz, MUGENKEN, 2013; MetaCPAN )
Unicorn-Manager/lib/Unicorn/Manager/CLI/Proc.pm ( view source; MetaCPAN )
   return $self->ptable($tree) ? 1 : 0;
}

1;

package Unicorn::Manager::CLI::Proc;

use Moo;
use JSON;
use strict;
use warnings;
use autodie;
use 5.010;

has process_table => ( is => 'rw', );

sub BU
self = shift;
    $self->process_table->refresh;
}

sub as_json {
    my $self = shift;

    my $json = JSON->new->utf8(1);

    return $json->encode( { $self->as_hash } );
}

sub as_hash {
    my $se
es the process table.

    $uniman_proc->refresh;

=head2 as_json

Return process table as json.

    my $json_text = $uniman_proc->as_json;

=head2 as_hash

Return process table as hash.

    my %has
marc-mir ( M/MA/MARCC/marc-mir-0.4.tar.gz, MARCC, 2013; MetaCPAN )
marc-mir/lib/MARC/MIR.pod ( view source; MetaCPAN )
a description format to import/export a MIR from/to a
datastructures that fit modern formats like JSON or XML.

=head2 MARC::MIR::Tutorial 

gives basic exemples of use of the MARC::MIR DSL described 
ld has changed a so drastic way most of the
IT crowd, bred to modern serialization formats (YAML, JSON, XML) are clueless
when it comes to magnetic tapes friendly serializations. Librarians haven't go
WebService-Smartling ( M/MC/MCOX/WebService-Smartling-v0.0.4.tar.gz, MCOX, 2013; MetaCPAN )
WebService-Smartling/lib/WebService/Smartling.pm ( view source; MetaCPAN )

use strict;
use warnings FATAL => 'all';

binmode STDOUT, ":encoding(UTF-8)";

use Carp;
require JSON;
use Params::Validate qw( :all );
use Readonly;
#use Smart::Comments;

=encoding utf-8

=head1 NA
nfig(
    base_url        => "https://api.smartling.com/v1/",
    response_parser => { module => "JSON" },
    sandbox_url     => "https://sandbox-api.smartling.com/v1",
    upload_url      => "https:
ameters>

=item fileUri B<(required)>

Value that uniquely identifies the file.

=item B<Returns: JSON result from API>

=over 4

 {"response":{"code":"SUCCESS","messages":[],"data":null,}}

=back

=b
App-cpantimes ( T/TO/TOBYINK/App-cpantimes-1.502101.tar.gz, TOBYINK, 2013; MetaCPAN )
App-cpantimes/lib/App/cpantimes.pm ( view source; MetaCPAN )
-2006 Ken Williams. 2010 Matt S Trout

=item L<version> Copyright 2004-2010 John Peacock

=item L<JSON::PP> Copyright 2007−2011 by Makamaka Hannyaharamitu

=item L<CPAN::Meta> Copyright (c) 2010 by 
Unicorn-Manager ( M/MU/MUGENKEN/Unicorn-Manager-0.006009.tar.gz, MUGENKEN, 2013; MetaCPAN )
Unicorn-Manager/lib/Unicorn/Manager/CLI.pm ( view source; MetaCPAN )
ift;
        my $message = shift;
        my $data    = shift;

        my $json = JSON->new->utf8(1);

        return $json->encode(
            {
                status  => $status,
                
 the encode->decode->encode
            return $render->( 1, 'running unicorns', JSON::decode_json( $self->proc->as_json ) );
        },
        help => sub {
            my $help = {
                
LWP-Authen-OAuth ( T/TI/TIMBRODY/LWP-Authen-OAuth-1.02.tar.gz, TIMBRODY, 2013; MetaCPAN )
LWP-Authen-OAuth/lib/LWP/Authen/OAuth.pm ( view source; MetaCPAN )
yy1',
		oauth_token_secret => 'yyy2',
	);
	
	$ua->post( 'http://api.twitter.com/1/statuses/update.json', [
		status => 'Posted this using LWP::Authen::OAuth!'
	]);

=head1 DESCRIPTION

This module pro
AI-MicroStructure-Relations ( S/SA/SANTEX/AI-MicroStructure-Relations-0.003.tar.gz, SANTEX, 2013; MetaCPAN )
AI-MicroStructure-Relations/lib/AI/MicroStructure/Relations.pm ( view source; MetaCPAN )
nsole qw(format_pretty);
use Data::Dumper;
use AI::MicroStructure::Cache;
use WWW::Wikipedia;
use JSON::XS;
use Statistics::Basic qw(:all);

our $VERSION = '0.01';
our $supports = {};
our $scale = 1;
qx_nonblock);
        my $micosense = qx_nonblock("micro-sense $next")->recv;
        my $sense = JSON::XS->new->pretty(1)->decode($micosense);
        delete($sense->{rows}->{search});
        
     

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.