Group
Extension

Matches 35358

POE-Component-MetaCPAN-Recent ( B/BI/BINGOS/POE-Component-MetaCPAN-Recent-1.04.tar.gz, BINGOS, 2020; MetaCPAN )
POE-Component-MetaCPAN-Recent/lib/POE/Component/MetaCPAN/Recent.pm ( view source; MetaCPAN )
se POE qw[Component::SmokeBox::Recent::HTTP];
use URI;
use HTTP::Request;
use HTTP::Response;
use JSON::PP;
use Time::Piece;

sub spawn {
  my $package = shift;
  my %opts = @_;
  $opts{lc $_} = delet
_requests}--;
  if ( $http_resp and $http_resp->code() == 200 ) {
    my $recents = eval { decode_json( $http_resp->content() ) };
    SWITCH: {
      last SWITCH unless $recents;
      last SWITCH un
Google-Cloud-Speech ( P/PR/PRAJITH/Google-Cloud-Speech-0.06.tar.gz, PRAJITH, 2020; MetaCPAN )
Google-Cloud-Speech/lib/Google/Cloud/Speech.pm ( view source; MetaCPAN )
',
    };
};

has auth_class  => sub {
	my $self = shift; 
	Google::Cloud::Speech::Auth->new(from_json => $self->secret_file);
};

sub token {
	my $self = shift;

	my $auth_obj = $self->auth_class;
	u
 => encode_base64( $audio_raw, "" ) };
    my $header = {
        'Content-Type'  => "application/json",
        'Authorization' => $self->token,
    };

    my $hash_ref = {
        config => $self->
ch:recognize";
    my $tx = $self->ua->post( $url => $header => json => $hash_ref );

    my $response = $self->handle_errors($tx)->json;
    if ( my $results = $response->{'results'} ) {
        retu
App-dbinfo ( P/PE/PERLANCAR/App-dbinfo-0.008.tar.gz, PERLANCAR, 2020; MetaCPAN )
App-dbinfo/lib/App/dbinfo.pm ( view source; MetaCPAN )
aliases => {l=>{}},
    },
);

sub __json_encode {
    state $json = do {
        require JSON::MaybeXS;
        JSON::MaybeXS->new->canonical(1);
    };
    $json->encode(shift);
}

sub _connect {
  
        $row = $sth->fetchrow_arrayref;
            return undef unless $row;
        }
        __json_encode($row);
    };

    [200, "OK", $code_get_row, {stream=>1}];
}

$SPEC{dump_sqlite_table} = 
WebService-PivotalTracker ( D/DR/DROLSKY/WebService-PivotalTracker-0.12.tar.gz, DROLSKY, 2020; MetaCPAN )
WebService-PivotalTracker/lib/WebService/PivotalTracker/Story.pm ( view source; MetaCPAN )


=head2 url

This will be returned as a L<URI> object.

=head2 kind

=head2 raw_content

The raw JSON used to create this object.

=head1 METHODS

This class provides the following methods:

=head2 $
Google-Cloud-Speech ( P/PR/PRAJITH/Google-Cloud-Speech-0.06.tar.gz, PRAJITH, 2020; MetaCPAN )
Google-Cloud-Speech/lib/Google/Cloud/Speech/Auth.pm ( view source; MetaCPAN )
oogle::Cloud::Speech::Auth;

use Mojo::Base '-base';
use Mojo::Collection;
use Mojo::JSON qw(encode_json decode_json);
use Mojo::JWT::Google;
use Mojo::UserAgent;

has scopes => sub { ['https://www.go
as from_json     => sub { };
has jwt_token_enc => undef;
has jwt_token     => undef;

sub jwt {
    my $self = shift;

    return Mojo::JWT::Google->new(
        from_json  => $self->from_json,
      
,
    );

    my $res = $tx->res;
    if ( $res->is_success and $res->json('/access_token') ) {
        my $token_obj = $res->json;
        my $token = $token_obj->{'token_type'} . ' ' . $token_obj->{
Mojolicious-Plugin-SwaggerUI ( M/MA/MARGHI/Mojolicious-Plugin-SwaggerUI-v0.0.4.tar.gz, MARGHI, 2020; MetaCPAN )
Mojolicious-Plugin-SwaggerUI/lib/Mojolicious/Plugin/SwaggerUI.pm ( view source; MetaCPAN )
plugin 'SwaggerUI' => {
        route => app->routes()->any('/swagger'),
        url => '/swagger.json',
    };
    
    # Mojolicious Full
    $app->plugin(
        SwaggerUI => {
            route  
 => {
        url => '/swagger.json'
    };

Url for the JSON Swagger specification. It defaults to C</v1>.

B<NOTE:>
L<Mojolicious::Plugin::OpenAPI> can expose the JSON Swagger spec under the base pa
App-RetroPAN ( D/DL/DLAMBLEY/App-RetroPAN-0.03_01.tar.gz, DLAMBLEY, 2020; MetaCPAN )
App-RetroPAN/lib/App/RetroPAN.pm ( view source; MetaCPAN )
;
use Module::CoreList;
use OrePAN2::Injector;
use OrePAN2::Indexer;

use Cpanel::JSON::XS qw/ encode_json decode_json /;

our $VERSION = '0.03_01';

my $ua = LWP::UserAgent->new( keep_alive => 2, age
pe" => "text/json",
        "Accept" => "text/json"
    ], encode_json($q) );

    my $res = $ua->request($req);
    die $res->status_line if !$res->is_success;
    my $data = decode_json($res->decode
pe" => "text/json",
        "Accept" => "text/json"
    ], encode_json($q) );

    my $res = $ua->request($req);
    die $res->status_line if !$res->is_success;
    my $data = decode_json($res->decode
WebService-PivotalTracker ( D/DR/DROLSKY/WebService-PivotalTracker-0.12.tar.gz, DROLSKY, 2020; MetaCPAN )
WebService-PivotalTracker/lib/WebService/PivotalTracker/ProjectMembership.pm ( view source; MetaCPAN )
fication_emails

=head2 will_receive_mention_notifications_or_emails

=head2 raw_content

The raw JSON used to create this object.

=head1 METHODS

This class provides the following methods:

=head2 $
App-GitHubPullRequest ( R/RO/ROBINS/App-GitHubPullRequest-0.6.0.tar.gz, ROBINS, 2020; MetaCPAN )
App-GitHubPullRequest/lib/App/GitHubPullRequest.pm ( view source; MetaCPAN )
:VERSION = '0.6.0';
# ABSTRACT: Command-line tool to query GitHub pull requests

use JSON qw(decode_json encode_json);
use Carp qw(croak);
use Encode qw(encode_utf8);
use File::Spec;

use constant DEB
de_json($response), $code
        if $return_on_error;
    return decode_json($response);
}

# Perform an API POST request
sub _api_create {
    my ($url, $data, @rest) = @_;
    return decode_json(
 
application/json',
            encode_json($data),
            @rest,
        )
    );
}

# Perform an API PATCH request
sub _api_update {
    my ($url, $data) = @_;
    return decode_json(
        _p
WebService-PivotalTracker ( D/DR/DROLSKY/WebService-PivotalTracker-0.12.tar.gz, DROLSKY, 2020; MetaCPAN )
WebService-PivotalTracker/lib/WebService/PivotalTracker/ProjectIteration.pm ( view source; MetaCPAN )
 finish

This will be returned as a L<DateTime> object.

=head2 kind

=head2 raw_content

The raw JSON used to create this object.

=head1 METHODS

This class provides the following methods:

=head2 $
WebService-MinFraud ( M/MA/MAXMIND/WebService-MinFraud-1.010000.tar.gz, MAXMIND, 2020; MetaCPAN )
WebService-MinFraud/lib/WebService/MinFraud/Client.pm ( view source; MetaCPAN )
amespace::autoclean;

our $VERSION = '1.010000';

use HTTP::Headers ();
use HTTP::Request ();
use JSON::MaybeXS;
use LWP::UserAgent;
use Scalar::Util qw( blessed );
use Sub::Quote qw( quote_sub );
use
odel::Score;
use WebService::MinFraud::Model::Chargeback;
use WebService::MinFraud::Types qw(
    JSONObject
    MaxMindID
    Str
    URIObject
    UserAgentObject
);
use WebService::MinFraud::Valida
fault => q{minfraud.maxmind.com},
);
has _json => (
    is       => 'ro',
    isa      => JSONObject,
    init_arg => undef,
    default  => quote_sub(q{ JSON::MaybeXS->new->utf8 }),
);
has license_ke
WebService-MinFraud ( M/MA/MAXMIND/WebService-MinFraud-1.010000.tar.gz, MAXMIND, 2020; MetaCPAN )
WebService-MinFraud/lib/WebService/MinFraud/Example.pod ( view source; MetaCPAN )
=> 19,
           discount                     => 3.2,
           previous_user                => JSON->true,
       },
       device => {
           accept_language => 'en-US,en;q=0.8',
           ip
WebService-MinFraud ( M/MA/MAXMIND/WebService-MinFraud-1.010000.tar.gz, MAXMIND, 2020; MetaCPAN )
WebService-MinFraud/lib/WebService/MinFraud/Record/Warning.pm ( view source; MetaCPAN )
https://dev.maxmind.com/minfraud/#Warning>
for the current list.

=head2 input_pointer

Returns a JSON pointer to the input field that the warning is associated with.
For instance, if the warning was 
OCR-OcrSpace ( S/SP/SPAJAI/OCR-OcrSpace-0.01.tar.gz, SPAJAI, 2020; MetaCPAN )
OCR-OcrSpace/lib/OCR/OcrSpace.pm ( view source; MetaCPAN )
mages and multi-page PDF documents (PDF OCR) and getting the extracted text results returned in a JSON format.

This module implemented the Post request only.

Extract text from images , pdf via ocr-s
g boxes for each word. If false, the OCR'ed text is returned only as a text block (this makes the JSON reponse smaller). Overlay data can be used, for example, to show text over the image.
 
 
=item *
et to true, the api autorotates the image correctly and sets the TextOrientation parameter in the JSON response. If the image is not rotated, then TextOrientation=0, otherwise it is the degree of the 
WebService-PivotalTracker ( D/DR/DROLSKY/WebService-PivotalTracker-0.12.tar.gz, DROLSKY, 2020; MetaCPAN )
WebService-PivotalTracker/lib/WebService/PivotalTracker/Client.pm ( view source; MetaCPAN )
ict;
use warnings;
use namespace::autoclean;

our $VERSION = '0.12';

use Cpanel::JSON::XS qw( decode_json encode_json );
use HTTP::Request;
use LWP::Protocol::https;
use LWP::UserAgent;
use URI;
use 
           . "\nFor the request:\n\n"
            . $request->as_string;
    }

    return decode_json( $response->content );
}

sub _make_request {
    my $self    = shift;
    my $method  = shift;
 
rackerToken' => $self->token,
            'Content-Type'   => 'application/json',
        ],
        ( $content ? encode_json($content) : () ),
    );
}

1;

# ABSTRACT: The API client

__END__

=pod
WebService-PivotalTracker ( D/DR/DROLSKY/WebService-PivotalTracker-0.12.tar.gz, DROLSKY, 2020; MetaCPAN )
WebService-PivotalTracker/lib/WebService/PivotalTracker/Me.pm ( view source; MetaCPAN )
ated_at

This will be returned as a L<DateTime> object.

=head2 kind

=head2 raw_content

The raw JSON used to create this object.

=head1 SUPPORT

Bugs may be submitted through L<https://github.com/m
WebService-PivotalTracker ( D/DR/DROLSKY/WebService-PivotalTracker-0.12.tar.gz, DROLSKY, 2020; MetaCPAN )
WebService-PivotalTracker/lib/WebService/PivotalTracker/Project.pm ( view source; MetaCPAN )
ated_at

This will be returned as a L<DateTime> object.

=head2 kind

=head2 raw_content

The raw JSON used to create this object.

=head1 METHODS

This class provides the following methods:

=head2 $
WebService-MinFraud ( M/MA/MAXMIND/WebService-MinFraud-1.010000.tar.gz, MAXMIND, 2020; MetaCPAN )
WebService-MinFraud/lib/WebService/MinFraud/Data/Rx/Type/CustomInputs.pm ( view source; MetaCPAN )

use 5.010;

use strict;
use warnings;
use namespace::autoclean;

our $VERSION = '1.010000';

use JSON::MaybeXS qw( is_bool );
use Scalar::Util qw( looks_like_number );

use parent 'Data::Rx::CommonTy
AnyEvent-HTTP ( M/ML/MLEHMANN/AnyEvent-HTTP-2.25.tar.gz, MLEHMANN, 2020; MetaCPAN )
AnyEvent-HTTP/HTTP.pm ( view source; MetaCPAN )
ed automatically. It is possible to save the cookie jar
to persistent storage with something like JSON or Storable - see the
C<AnyEvent::HTTP::cookie_jar_expire> function if you wish to remove
expired
 interactive protocol is used (typical example would be the
push-style twitter API which starts a JSON/XML stream).

If you think you need this, first have a look at C<on_body>, to see if
that doesn't
Data-Object ( A/AW/AWNCORP/Data-Object-2.05.tar.gz, AWNCORP, 2020; MetaCPAN )
Data-Object/lib/Data/Object/Boolean.pm ( view source; MetaCPAN )
rue : $False;
}

fun IsTrue($arg) {

  return Type($arg) eq $TrueType ? $True : $False;
}

fun TO_JSON($arg) {
  no strict 'refs';

  return ${$arg} ? $TrueRef : $FalseRef;
}

fun True() {

  return $
d2 to_json

  TO_JSON(Any $arg) : Ref['SCALAR']

The TO_JSON method returns a scalar ref representing truthiness or falsiness
based on the arguments passed, this function is commonly used by JSON enco


=over 4

=item TO_JSON example #1

  my $bool = Data::Object::Boolean->new(1);

  $bool->TO_JSON; # \1

=back

=over 4

=item TO_JSON example #2

  Data::Object::Boolean::TO_JSON(
    Data::Object::

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