Skip to content

Commit 893f64a

Browse files
committed
Merge branch 'developer'
2 parents 5d064bc + 7aacb6a commit 893f64a

4 files changed

Lines changed: 600 additions & 117 deletions

File tree

PRODUCT.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
product
2+
asin
3+
title
4+
url
5+
6+
product
7+
features = []
8+
languages = []
9+
formats = []
10+
pages_count
11+
color
12+
unit_count
13+
size
14+
dimensions
15+
height
16+
value
17+
unit
18+
lenght
19+
value
20+
unit
21+
width
22+
value
23+
unit
24+
weight
25+
value
26+
unit
27+
28+
info
29+
contributors = []
30+
name
31+
role
32+
manufacturer
33+
brand
34+
model
35+
part_number
36+
product_group
37+
binding
38+
is_adult
39+
audience_rating
40+
edition
41+
warranty
42+
publication_date
43+
release_date
44+
external_ids
45+
ean = []
46+
isbn = []
47+
upc = []
48+
49+
images
50+
small
51+
medium
52+
large
53+
cropped
54+
small = []
55+
medium = []
56+
large = []
57+
variants
58+
small = []
59+
medium = []
60+
large = []
61+
62+
trade_in
63+
elegible
64+
price
65+
currency
66+
67+
68+
prices
69+
price
70+
value
71+
currency
72+
per_unit
73+
display
74+
savings
75+
value
76+
currency
77+
per_unit
78+
display
79+
percentage
80+
pvp
81+
value
82+
currency
83+
per_unit
84+
display
85+
availability
86+
max_order_quantity
87+
min_order_quantity
88+
type
89+
message
90+
condition
91+
condition
92+
condition_display
93+
sub_condition
94+
sub_condition_display
95+
merchant
96+
default_shipping_country
97+
merchant_id
98+
name
99+
other
100+
buybox_winner
101+
loyalty_points
102+
amazon_fulfilled
103+
free_shipping_eligible
104+
prime_eligible
105+
prime_exclusive
106+
prime_pantry
107+
violates_map
108+
offer_id
109+
110+
offers_summary = []
111+
highest_price
112+
value
113+
currency
114+
per_unit
115+
display
116+
lowest_price
117+
value
118+
currency
119+
per_unit
120+
display
121+
condition
122+
condition
123+
condition_display
124+
sub_condition
125+
sub_condition_display
126+
offer_count

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ Amazon Product Advertising API 5.0 wrapper for Python
22
=======================================================
33
A simple Python wrapper for the last version of the Amazon Product Advertising API. This module allows to get product information from Amazon using the official API in an easier way.
44

5-
[![PyPI](https://img.shields.io/pypi/v/python-amazon-paapi5?color=%231182C2&label=PyPI)](https://pypi.org/project/python-amazon-paapi5/)
5+
[![PyPI](https://img.shields.io/pypi/v/python-amazon-paapi5?color=%231182C2&label=PyPI)](https://pypi.org/project/python-amazon-paapi/)
66
[![Python](https://img.shields.io/badge/Python-2.x%20%7C%203.x-%23FFD140)](https://www.python.org/)
7-
[![License](https://img.shields.io/badge/License-GPL--3.0-%23e83633)](https://github.com/sergioteula/python-amazon-paapi5/blob/master/LICENSE)
8-
[![Support](https://img.shields.io/badge/Support-Good-brightgreen)](https://github.com/sergioteula/python-amazon-paapi5/issues)
7+
[![License](https://img.shields.io/badge/License-GPL--3.0-%23e83633)](https://github.com/sergioteula/python-amazon-paapi/blob/master/LICENSE)
8+
[![Support](https://img.shields.io/badge/Support-Good-brightgreen)](https://github.com/sergioteula/python-amazon-paapi/issues)
99
[![Amazon API](https://img.shields.io/badge/Amazon%20API-5.0-%23FD9B15)](https://webservices.amazon.com/paapi5/documentation/)
1010

1111

@@ -15,14 +15,17 @@ Features
1515
* Object oriented interface for simple usage.
1616
* Get information about a product through its ASIN or URL.
1717
* Get multiple products at once.
18-
* Ask for new features through the [issues](https://github.com/sergioteula/python-amazon-paapi5/issues) section.
18+
* Configurable throttling to avoid requests exceptions.
19+
* Support for all available countries.
20+
* Reorganized product information [structure](https://github.com/sergioteula/python-amazon-paapi/blob/master/PRODUCT.md) for simple use.
21+
* Ask for new features through the [issues](https://github.com/sergioteula/python-amazon-paapi/issues) section.
1922

2023
Installation
2124
-------------
2225

2326
You can install or upgrade the module with:
2427

25-
pip install python-amazon-paapi5 --upgrade
28+
pip install python-amazon-paapi --upgrade
2629

2730
Usage guide
2831
-----------
@@ -36,8 +39,8 @@ Basic usage:
3639
Get multiple product information:
3740

3841
product = amazon.get_product('B01N5IB20Q,B01F9G43WU')
39-
print(product[0].image_large)
40-
print(product[1].prices.price)
42+
print(product[0].images.large)
43+
print(product[1].prices.price.value)
4144

4245
Use URL insted of ASIN:
4346

@@ -50,6 +53,10 @@ Get the ASIN from a URL:
5053

5154
Changelog
5255
-------------
56+
Version 2.0.0
57+
- New structure for product info, adding all available information from the API.
58+
- Added raw_data with the information unparsed from the API.
59+
- Removed Amazon API version from package name to avoid changes in the future.
5360

5461
Version 1.0.0
5562
- Added support for getting multiple product information.

0 commit comments

Comments
 (0)