Download the PHP package jakiboy/apaapi without Composer
On this page you can find all versions of the php package jakiboy/apaapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jakiboy/apaapi
More information about jakiboy/apaapi
Files in jakiboy/apaapi
Package apaapi
Short Description Easily integrate with the Amazon Affiliate Program using the lightweight APAAPI library for Amazon Product Advertising API v5 (With Credential-less)
License MIT
Homepage https://jakiboy.github.io/apaapi/
Informations about the package apaapi
APAAPI
Amazon Product Advertising API V5.0 (Without Amazon SDK). This repository contains a lightweight PHP (~250 KB) wrapper library (Unofficial), Easily access the Amazon Product Advertising API V5.0 from your app.
-- Become an Amazon Affiliate With PHP --
💡 Features
- Request Builder (Easier way to fetch data).
- Credential-less (No credentials required using scrapper).
- Search Filters (Using builder).
- Geotargeting (Automatically redirect links based on the visitor's region).
- Cart Generator (Add to cart URL).
- Rating (Customer reviews).
- Response Normalizer (Normalize response data structure).
- Response Error Handling (Including semantic errors with HTTP status code 200).
- Keyword Converter (ASIN, ISBN, EAN, Node, Root).
- Caching System (Basic built-in cache to reduce API calls).
⚡ Installing
Using Composer:
Without Composer:
- 1 - Download repository ZIP (Latest version).
- 2 - Extract ZIP (apaapi-main).
-
3 - Include this lines beelow (apaapi self-autoloader).
- 4 - Use the Quickstart examples.
⚡ Requirements
- PHP ^8.2 (For older versions, please use previous version)
- cURL | Stream (file)
⚡ Getting Started
Variables:
- "_KEY_" : From your Amazon Associates (your locale), More.
- "_SECRET_" : From your Amazon Associates (your locale), More.
- "_TAG_" : From your Amazon Associates (your locale), More.
- "_LOCALE_" : TLD of the target marketplace to which you are sending requests (com/fr/co.jp), Get TLD.
- "_KEYWORDS_" : What you are looking for (Products), More.
- "_ASIN_" : Accepts (ISBN), Amazon Standard Identification Number (your locale), More.
- "_NODE_" : Browse Node ID (your locale), More.
Quickstart
Recommended using Apaapi builder or Apaapi scrapper without API credentials.
Builder:
[!Note]
See full builder usage at /wiki/Builder
Scrapper:
[!Note]
See full builder usage at /wiki/Scrapper
Cart:
Get affiliate cart URL.
Rating:
Get customer reviews of product as average rating and count (Scrapper).
[!NOTE]
All available use case examples are located in /examples.
Basic (Search):
Extensible search method.
[!Note]
See all available TLDs used by setLocale() at /wiki/TLDs
Basic (Get):
Extensible get method.
Operations:
All available operations.
Resources:
Optimize response time by setting only the needed resources.
[!Note]
See all available resources used by setResources() at /wiki/Resources
🔧 Incoming
- Integrated design (PHP, TypeScript)
- apaapi.js React.js component (TypeScript)
Authors
- Jakiboy (Initial work)
- Contributors
- Any PR is welcome!
⭐ Support:
Don't buy me a coffee! Just star the project if you like it.
[!IMPORTANT]
The Amazon logo included in top of this page refers only to the Amazon Product Advertising API V5.
The Official Amazon SDK (PAAPI5)