Amazon-CreatorsAPI

 view release on metacpan or  search on metacpan

lib/Amazon/CreatorsAPI.pm  view on Meta::CPAN


Amazon::CreatorsAPI - The Amazon Creators API Helper


=head1 SYNOPSIS

    use Amazon::CreatorsAPI;
    use Data::Dumper;

    my $api = Amazon::CreatorsAPI->new(
        "{credential_id}",
        "{credential_secret}",
        "{credential_version}",
        {
            partner_tag => "{partner_tag}",
            marketplace => '{www.amazon.com}',
        },
    );

    my $res = $api->search_items({
        keywords => "{search_keyword}",
        resources => [
            'itemInfo.title',
        ],
    });

    print Dumper($res);


=head1 DESCRIPTION

What is the Amazon Creators API?

https://affiliate-program.amazon.com/creatorsapi/docs/en-us/introduction

See B<example/> directory of this module.

L<https://github.com/bayashi/Amazon-CreatorsAPI/tree/main/example>


=head1 METHODS

=head2 new

constructor

=head2 get_browse_nodes($api_params)

=head2 get_items($api_params)

=head2 get_variations($api_params)

=head2 search_items($api_params)

=head2 operation($operation, $api_params)

C<operation> method is the low level interface to call Amazon Creators API for operations not yet wrapped by helper methods in this module.

Amazon Creator API Reference: https://affiliate-program.amazon.com/creatorsapi/docs/en-us/api-reference

Locale Reference: https://affiliate-program.amazon.com/creatorsapi/docs/en-us/locale-reference


=head1 REPOSITORY

=begin html

<a href="https://github.com/bayashi/Amazon-CreatorsAPI/blob/main/README.md"><img src="https://img.shields.io/badge/Version-0.01-green?style=flat"></a> <a href="https://github.com/bayashi/Amazon-CreatorsAPI/blob/main/LICENSE"><img src="https://img.shi...

=end html

Amazon::CreatorsAPI is hosted on github: L<http://github.com/bayashi/Amazon-CreatorsAPI>

I appreciate any feedback :D


=head1 AUTHOR

Dai Okabayashi


=head1 LICENSE

C<Amazon::CreatorsAPI> is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. (Note that, unlike the Artistic License 1.0, version 2.0 is GPL compatible by itself, hence there is no benefit to having a...

=cut



( run in 2.011 seconds using v1.01-cache-2.11-cpan-5623c5533a1 )