Group
Extension

Matches 35359

Catalyst-Authentication-Credential-Crowd ( K/KE/KEEKUNG/Catalyst-Authentication-Credential-Crowd-0.07.tar.gz, KEEKUNG, 2014; MetaCPAN )
Catalyst-Authentication-Credential-Crowd/lib/Catalyst/Authentication/Credential/Crowd.pm ( view source; MetaCPAN )
ict;
use warnings;

our $VERSION = '0.07';

use Moose;
use HTTP::Request;
use LWP::UserAgent;
use JSON;

has 'authen_url' => (
    is => 'ro',
    isa => 'Str',
    required => '1',
    default => sub
new;
    my $uri = $self->authen_url."?username=$username";
    my $json_hash = { value => $password };
    my $json = to_json( $json_hash );
    my $req = HTTP::Request->new( 'POST',  $uri );
    $re
sword}
    );
    $req->header('Accept' => 'application/json');
    $req->header('Content-Type' => 'application/json');
    $req->content( $json );

    my $response = $ua->request( $req );
    return
WWW-Mechanize-Script ( R/RE/REHSACK/WWW-Mechanize-Script-0.101.tar.gz, REHSACK, 2014; MetaCPAN )
WWW-Mechanize-Script/lib/WWW/Mechanize/Script.pm ( view source; MetaCPAN )
 => 'yes',    # check LWP::UA param
	    },
	},
    },
    script_dirs => [qw(/old/wtscripts /new/json_scripts)],
    summary => {
        template => "[% CODE_NAME; IF MESSAGES.size > 0 %] - [% MESSA
ZMQ-Declare ( S/SM/SMUELLER/ZMQ-Declare-0.03.tar.gz, SMUELLER, 2014; MetaCPAN )
ZMQ-Declare/lib/ZMQ/Declare/Types.pm ( view source; MetaCPAN )
ERSION = '0.03';
}
use 5.008001;
use strict;
use warnings;

use Moose::Util::TypeConstraints;
use JSON ();
use ZeroMQ::Constants qw(:all);

my %zdcf_socket_types = (
  pub => ZMQ_PUB,
  sub => ZMQ_SUB
NetInfoExtractor ( N/NU/NUNOGMART/NetInfoExtractor-0.1.tar.gz, NUNOGMART, 2014; MetaCPAN )
NetInfoExtractor/lib/NetInfoExtractor/Report.pm ( view source; MetaCPAN )
Moose;
use JSON;
use UUID::Tiny ':std';

has 'json' => (is => 'rw', isa => 'JSON');
has 'json_data' => (is => 'rw', isa => 'HashRef[Ref]');

sub BUILD {
	my $self = shift;

	$self->json(JSON->new->utf
8);
	$self->json->convert_blessed(1);
	$self->json->allow_blessed(1);
	$self->json_data({});
	my $v1_mc_UUID = create_uuid();
	$self->json_data->{format} = {
		id => "b744635a-9d6b-11e3-8ec0-da765d6aa
4db",
		multiple => JSON::false,
	};
	$self->json_data->{result} = {
		data => {
			network_interfaces => [],
			#firewall => {},
			#bridges => {},
			routes => [],
			nameservers => [],
			openports
Eve ( Z/ZI/ZINIGOR/Eve-0.06.tar.gz, ZINIGOR, 2014; MetaCPAN )
Eve/lib/Eve/HttpResource/Graph.pm ( view source; MetaCPAN )
=item C<json>

a JSON encoder object.

=back

=head1 METHODS

=head2 B<init()>

=cut

sub init {
    my ($self, %arg_hash) = @_;
    my $arg_hash = Eve::Support::arguments(\%arg_hash, my $json);

    
$self->{'_json'} = $json;

    $self->{'_id'} = undef;

    $self->SUPER::init(%{$arg_hash});

    return;
}

=head2 B<_read()>

This method is called when the graph node or connection is requested
wi
ntent-Type', value => 'text/javascript');
    $self->_response->set_body(
        text => $self->_json->encode(reference => $reference));

    return;
}

=head1 SEE ALSO

=over 4

=item L<Eve::HttpRes
Acme-Constructor-Pythonic ( T/TO/TOBYINK/Acme-Constructor-Pythonic-0.002.tar.gz, TOBYINK, 2014; MetaCPAN )
Acme-Constructor-Pythonic/lib/Acme/Constructor/Pythonic.pm ( view source; MetaCPAN )

        JSON
        HTTP::Request
    );
    
    my $json = JSON();
    my $ua   = UserAgent();
    my $req  = Request( GET => 'http://www.example.com/foo.json' );
    
    my $data = $json->decode
object instantiation in Perl. The example in
the SYNOPSIS creates three functions C<UserAgent>, C<JSON> and <Request> each
of which just pass through their arguments to the real object constructors.

WWW-Jawbone-Up ( A/AB/ABERNDT/WWW-Jawbone-Up-1.32.4.tar.gz, ABERNDT, 2014; MetaCPAN )
WWW-Jawbone-Up/lib/WWW/Jawbone/Up/Score.pm ( view source; MetaCPAN )
ckage WWW::Jawbone::Up::Score;

use 5.010;
use strict;
use warnings;

use base 'WWW::Jawbone::Up::JSON';

__PACKAGE__->add_subclass(move  => 'WWW::Jawbone::Up::Score::Move');
__PACKAGE__->add_subclass
WWW-KeePassRest ( M/MI/MICHAEL/WWW-KeePassRest-0.01.tar.gz, MICHAEL, 2014; MetaCPAN )
WWW-KeePassRest/lib/WWW/KeePassRest.pm ( view source; MetaCPAN )
package WWW::KeePassRest;

use 5.006;
use strict;
use warnings FATAL => 'all';
use WWW::JSONAPI;
use File::ShareDir;
use Carp;

=head1 NAME

WWW::KeePassRest - use KeePass for secure local 
rest>

KeePassRest exposes a minimal API on localhost:12984, secured by SSL and accessed with a JSON API.
You can't do everything with it (you can't generate passwords, work with groups of entries,
$cert_file" unless -e $key_file;
   
   my $port = $opts{port} || 12984;
   
   $self->{json} = WWW::JSONAPI->new(cert_file => $cert_file,
                                     key_file  => $key_f
WWW-JSONAPI ( M/MI/MICHAEL/WWW-JSONAPI-0.01.tar.gz, MICHAEL, 2014; MetaCPAN )
WWW-JSONAPI/lib/WWW/JSONAPI.pm ( view source; MetaCPAN )
WW::JSONAPI;

use 5.006;
use strict;
use warnings FATAL => 'all';
use LWP;
use HTTP::Request;
use JSON;
use Carp;

=head1 NAME

WWW::JSONAPI - Very thin and inadequate wrapper for JSON API
;


=head1 SYNOPSIS

This module contains utterly minimal functionality for interacting with JSON-based REST services with or without SSL.
It resulted from my development of L<WWW::KeePassRest>,
 and has the purpose of providing a very thin but convenient
abstraction layer on top of LWP and JSON for that API. Other than those, it has no dependencies.
Version 0.01 contains only those methods
WWW-Jawbone-Up ( A/AB/ABERNDT/WWW-Jawbone-Up-1.32.4.tar.gz, ABERNDT, 2014; MetaCPAN )
WWW-Jawbone-Up/lib/WWW/Jawbone/Up.pm ( view source; MetaCPAN )
ersion numbers so we'll
see how that pans out.

=head1 METHODS

=cut

use Carp;
use DateTime;
use JSON 2.0;
use LWP::UserAgent;
use URI::Escape;

use WWW::Jawbone::Up::Feed;
use WWW::Jawbone::Up::Scor
{ua}->request($request);

  croak $response->status_line if $response->is_error;

  return decode_json($response->decoded_content);
}

sub __encode {
  my ($hash) = @_;

  return join '&',
    map spr

  my $json = $self->_post(
    URI_BASE . '/user/signin/login', {
      service => 'nudge',
      email   => $email,
      pwd     => $password,
    });

  if ($json->{error}) {
    carp $json->{erro
Bundle-CygwinVendor ( R/RU/RURBAN/Bundle-CygwinVendor-0.02.tar.gz, RURBAN, 2014; MetaCPAN )
Bundle-CygwinVendor/CygwinVendor.pm ( view source; MetaCPAN )
ocket::SSL		1.981

LWP::Protocol::https	6.04

common::sense		3.72

Types::Serialiser	1.0

JSON::XS		3.01

JSON			2.90

Metabase::Client::Simple 0.009

Data::UUID		1.219

Data::GUID		0.048

CPAN::Distn
WWW-Jawbone-Up ( A/AB/ABERNDT/WWW-Jawbone-Up-1.32.4.tar.gz, ABERNDT, 2014; MetaCPAN )
WWW-Jawbone-Up/lib/WWW/Jawbone/Up/Score/Move.pm ( view source; MetaCPAN )
WWW::Jawbone::Up::Score::Move;

use 5.010;
use strict;
use warnings;

use base 'WWW::Jawbone::Up::JSON';

__PACKAGE__->add_accessors(
  qw(distance active_time longest_active longest_idle));
__PACKAGE
Exobrain ( P/PJ/PJF/Exobrain-1.08.tar.gz, PJF, 2014; MetaCPAN )
Exobrain/lib/Exobrain/Agent.pm ( view source; MetaCPAN )
f->component );
}


has json => (
    is => 'ro',
    lazy => 1,
    builder => '_build_json',
);

method _build_json() {
    eval "use JSON::Any; 1;" or die $@;
    return JSON::Any->new;
}

1;

__EN
<Exobrain::Cache> object, with a namespace of
C<$self->component>.

=head2 json

    my $json = $self->json;

Returns a L<JSON::Any> object.

=head1 AUTHOR

Paul Fenwick <pjf@cpan.org>

=head1 COPYRIG
Mojolicious-Plugin-Nour-Database ( A/AM/AMIRITE/Mojolicious-Plugin-Nour-Database-0.09.tar.gz, AMIRITE, 2014; MetaCPAN )
Mojolicious-Plugin-Nour-Database/lib/Mojolicious/Plugin/Nour/Database.pm ( view source; MetaCPAN )
sh, l.direction
             order by l.language_code
        | )->hashes;
        $self->render( json => $list );
    }

Or:

    sub list {
        my $self = shift;
        my $list = $self->db( 'a
 from audio.reciter r
             order by r.english
        | )->hashes;
        $self->render( json => $list );
    }

This module uses L<Nour::Database> which is a wrapper for L<DBIx::Simple> to p
WWW-Jawbone-Up ( A/AB/ABERNDT/WWW-Jawbone-Up-1.32.4.tar.gz, ABERNDT, 2014; MetaCPAN )
WWW-Jawbone-Up/lib/WWW/Jawbone/Up/Tick.pm ( view source; MetaCPAN )
ackage WWW::Jawbone::Up::Tick;

use 5.010;
use strict;
use warnings;

use base 'WWW::Jawbone::Up::JSON';

__PACKAGE__->add_accessors(
  qw(distance active_time aerobic calories steps time speed));

1;
WWW-Pinboard ( D/DO/DOY/WWW-Pinboard-0.02.tar.gz, DOY, 2014; MetaCPAN )
WWW-Pinboard/lib/WWW/Pinboard.pm ( view source; MetaCPAN )
rd::VERSION = '0.02';
use Moose;
# ABSTRACT: https://pinboard.in/ API client

use HTTP::Tiny;
use JSON::PP;
use URI;



has token => (
    is       => 'ro',
    isa      => 'Str',
    required => 1,
)
n, format => 'json');
        return $uri;
    },
);

has ua => (
    is      => 'ro',
    isa     => 'HTTP::Tiny',
    lazy    => 1,
    default => sub { HTTP::Tiny->new },
);

has json => (
    is  
    => 'ro',
    isa     => 'JSON::PP',
    lazy    => 1,
    default => sub { JSON::PP->new },
);


for my $method (qw(update add delete get recent dates all suggest)) {
    __PACKAGE__->meta->add_me
WWW-Jawbone-Up ( A/AB/ABERNDT/WWW-Jawbone-Up-1.32.4.tar.gz, ABERNDT, 2014; MetaCPAN )
WWW-Jawbone-Up/lib/WWW/Jawbone/Up/Feed.pm ( view source; MetaCPAN )
ackage WWW::Jawbone::Up::Feed;

use 5.010;
use strict;
use warnings;

use base 'WWW::Jawbone::Up::JSON';

use DateTime;

__PACKAGE__->add_accessors(
  qw(title date type reached_goal), {
    timezone 
WWW-Jawbone-Up ( A/AB/ABERNDT/WWW-Jawbone-Up-1.32.4.tar.gz, ABERNDT, 2014; MetaCPAN )
WWW-Jawbone-Up/lib/WWW/Jawbone/Up/Score/Sleep.pm ( view source; MetaCPAN )
WW::Jawbone::Up::Score::Sleep;

use 5.010;
use strict;
use warnings;

use base 'WWW::Jawbone::Up::JSON';

__PACKAGE__->add_accessors(qw(awakenings light awake time_to_sleep));

sub bedtime {
  my $sel
Exobrain-Foursquare ( P/PJ/PJF/Exobrain-Foursquare-0.01.tar.gz, PJF, 2014; MetaCPAN )
Exobrain-Foursquare/lib/Exobrain/Foursquare.pm ( view source; MetaCPAN )
package Exobrain::Foursquare;
use Moose;
use Exobrain::Config;
use JSON::Any;
use Try::Tiny;
use feature qw(say);

# ABSTRACT: Foursquare components for Exobrain
our $VERSION = '0.01'; # VERSION

with
ize->new( autocheck => 1 );
    my $json = JSON::Any->new;

    $mech->get("$FOURSQUARE_API/checkins/recent?oauth_token=$token&v=20130425");

    my $status = $json->decode($mech->content);

    if ($
Text-Md2Inao ( G/GF/GFUJI/Text-Md2Inao-0.11.tar.gz, GFUJI, 2014; MetaCPAN )
Text-Md2Inao/lib/Text/Md2Inao/Builder/InDesign.pm ( view source; MetaCPAN )
Md2Inao') }) {
        if (-d $dir) {
            $self->load_filter_config(path($dir, 'id_filter.json'));
            last;
        }
    }
    return $self;
}

sub prepend_metadata {
    my ($self, 

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