Group
Extension

Matches 3

Regru-API ( O/OL/OLEG/Regru-API-0.053.tar.gz, OLEG, 2024; MetaCPAN )
Regru-API/lib/Regru/API.pm ( view source; MetaCPAN )
access to the REG.API v2 provided by REG.RU LLC. This is a JSON-driven implementation.
Input/output request data will transforms from/to JSON transparently.

=head2 Rate limiting

Rate limiting in ver
Regru-API ( O/OL/OLEG/Regru-API-0.053.tar.gz, OLEG, 2024; MetaCPAN )
Regru-API/lib/Regru/API/Role/Serializer.pm ( view source; MetaCPAN )
izer;

# ABSTRACT: something that can (de)serialize

use strict;
use warnings;
use Moo::Role;
use JSON;
use Carp;
use namespace::autoclean;

our $VERSION = '0.053'; # VERSION
our $AUTHORITY = 'cpan:OL
 => (
    is      => 'rw',
    isa     => sub {
        croak "$_[0] is not a JSON instance"    unless ref($_[0]) =~ m/JSON/;
        croak "$_[0] can not decode"            unless $_[0]->can('decode'
not encode"            unless $_[0]->can('encode');
    },
    lazy    => 1,
    default => sub { JSON->new->utf8 },
);

1;  # End of Regru::API::Role::Serializer

__END__

=pod

=encoding UTF-8

=hea
Regru-API ( O/OL/OLEG/Regru-API-0.053.tar.gz, OLEG, 2024; MetaCPAN )
Regru-API/lib/Regru/API/Role/Client.pm ( view source; MetaCPAN )
lf->username,
        password      => $self->password,
        output_format => 'json',
        input_format  => 'json',
    );

    $post_params{lang}          = $self->lang           if $self->has_
 if $self->debug;

    my $json = $self->serializer->encode( \%params );

    my $response = $self->useragent->post(
        $url,
        [ %post_params, input_data => $json ]
    );

    return Regr

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