All Projects → sergioteula → python-amazon-paapi

sergioteula / python-amazon-paapi

Licence: MIT License
Amazon Product Advertising API 5.0 wrapper for Python 💰

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-amazon-paapi

affiliate
Add affiliation tags to links automatically in the browser
Stars: ✭ 77 (-37.4%)
Mutual labels:  amazon, affiliate
Apai Io
DISCONTINUED Amazon Product Adverstising Library based on PHP REST and SOAP (only V1) using the Product Advertising API.
Stars: ✭ 647 (+426.02%)
Mutual labels:  product, amazon
go-amazon-product-advertising-api
Go Client Library for Amazon Product Advertising API
Stars: ✭ 51 (-58.54%)
Mutual labels:  amazon, amazon-product-advertising
affilicious
Affilicious, the Wordpress WooCommerce for affiliates. Use products. shops, price comparisons, details and more for free.
Stars: ✭ 17 (-86.18%)
Mutual labels:  amazon-product-advertising, affiliate
mws-orders
A Ruby interface to the Amazon MWS Orders API
Stars: ✭ 14 (-88.62%)
Mutual labels:  amazon
mapbox-assistant-example
Examples of Amazon Echo, Google Home, and other bots interacting with Mapbox services.
Stars: ✭ 15 (-87.8%)
Mutual labels:  amazon
Road2StrategyPM
产品策划开发修炼手记 👩🏻‍💻
Stars: ✭ 80 (-34.96%)
Mutual labels:  product
sesdashboard
Analytics and activity tracking dashboard for AWS Simple Email Service
Stars: ✭ 36 (-70.73%)
Mutual labels:  amazon
dummy-products-api
An api to fetch dummy e-commerce product 👕 👗 👖 👚 JSON data with placeholder images.
Stars: ✭ 102 (-17.07%)
Mutual labels:  product
punic
Punic is a remote cache CLI built for Carthage and Apple .xcframework
Stars: ✭ 25 (-79.67%)
Mutual labels:  amazon
MoneyWellSpent
A script to summarize your money spent on Amazon
Stars: ✭ 16 (-86.99%)
Mutual labels:  amazon
wishlist
Read an Amazon wishlist programmatically with Python
Stars: ✭ 44 (-64.23%)
Mutual labels:  amazon
amazon-kinesis-archiver
An AWS Lambda module and node.js library to facilitate Amazon Kinesis archival and replay
Stars: ✭ 29 (-76.42%)
Mutual labels:  amazon
pterobilling
An open-source Laravel 8 online store, client area, and billing software specially made for Pterodactyl panel
Stars: ✭ 258 (+109.76%)
Mutual labels:  affiliate
installtomcataws
Install tomcat 8.x in AWS (Amazon Linux AMI)
Stars: ✭ 13 (-89.43%)
Mutual labels:  amazon
magento2-extension
eBay / Amazon / Walmart Integration for Magento v2.x.x
Stars: ✭ 57 (-53.66%)
Mutual labels:  amazon
tudien
Từ điển tiếng Việt dành cho Kindle
Stars: ✭ 38 (-69.11%)
Mutual labels:  amazon
aws-serverless-fullstack-swift-apple-carplay-example
This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.
Stars: ✭ 84 (-31.71%)
Mutual labels:  amazon
ioBroker.cloud
Enable access to ioBroker from internet
Stars: ✭ 36 (-70.73%)
Mutual labels:  amazon
laravel-docweaver
Product documentation generation package for Laravel.
Stars: ✭ 36 (-70.73%)
Mutual labels:  product

Amazon Product Advertising API 5.0 wrapper for Python

A simple Python wrapper for the last version of the Amazon Product Advertising API. This module allows interacting with Amazon using the official API in an easier way.

PyPI Python License Amazon API Codecov Support PyPI - Downloads

If you are still using the old version, go here for documentation or check our migration guide.

Features

  • Object oriented interface for simple usage.
  • Get information about a product through its ASIN or URL.
  • Get item variations or search for products on Amazon.
  • Get browse nodes information.
  • Get multiple results at once without the 10 items limitation from Amazon.
  • Configurable throttling to avoid requests exceptions.
  • Type hints to help you coding.
  • Support for all available countries.
  • Ask for new features through the issues section.
  • Join our Telegram group for support or development.
  • Check the documentation for reference.

Installation

You can install or upgrade the module with:

pip install python-amazon-paapi --upgrade

Usage guide

Basic usage:

from amazon_paapi import AmazonApi
amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY)
item = amazon.get_items('B01N5IB20Q')[0]
print(item.item_info.title.display_value) # Item title

Get multiple items information:

items = amazon.get_items(['B01N5IB20Q', 'B01F9G43WU'])
for item in items:
    print(item.images.primary.large.url) # Primary image url
    print(item.offers.listings[0].price.amount) # Current price

Use URL insted of ASIN:

item = amazon.get_items('https://www.amazon.com/dp/B01N5IB20Q')

Get item variations:

variations = amazon.get_variations('B01N5IB20Q')
for item in variations.items:
    print(item.detail_page_url) # Affiliate url

Search items:

search_result = amazon.search_items(keywords='nintendo')
for item in search_result.items:
    print(item.item_info.product_info.color) # Item color

Get browse node information:

browse_nodes = amazon.get_browse_nodes(['667049031', '599385031'])
for browse_node in browse_nodes:
    print(browse_node.display_name) # The name of the node

Get the ASIN from URL:

from amazon_paapi import get_asin
asin = get_asin('https://www.amazon.com/dp/B01N5IB20Q')

Throttling:

Throttling value represents the wait time in seconds between API calls, being the default value 1 second. Use it to avoid reaching Amazon request limits.

amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY, throttling=4)  # Makes 1 request every 4 seconds
amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY, throttling=0)  # No wait time between requests

License

Copyright © 2021 Sergio Abad. See license for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].