Amazon API library for Python? [closed]

What Python libraries do folks use for querying Amazon product data? (Amazon Associates Web Service - used to be called E-Commerce API, or something along those lines).

Based on my research, PyAWS seems okay, but still pretty raw (and hasn't been updated in a while). Wondering if there's an obvious canonical library that I'm just missing.

Asked by: Victoria766 | Posted: 24-09-2021

Answer 1

There is now another alternative: python-amazon-product-api. It supports API version 2009-11-01 2010-12-01.

Answered by: Kellan859 | Posted: 25-10-2021

Answer 2

I'm using Bottlenose, Dan Loewenherz's "super awesome Python wrapper for the Amazon Product Advertising API". It doesn't parse the XML, so I'm using lxml.objectify:

SECRET_KEY = "..."
ASSOC_TAG = "..."

import bottlenose
amazon = bottlenose.Amazon(ACCESS_KEY_ID, SECRET_KEY, ASSOC_TAG)
response=amazon.ItemLookup(ItemId="B0018AFK38", ResponseGroup="OfferSummary")

from lxml import objectify
root = objectify.fromstring(response)

Answered by: Agata215 | Posted: 25-10-2021

Answer 3

If what you are looking for is a simple, object oriented access to Amazon products (lookup and search), try python-amazon-simple-product-api. Its a new project i've just released:

Its the new kid on the block!

Answered by: Lana253 | Posted: 25-10-2021

Answer 4

PyAWS is no longer hosted on SourceForge. The latest version (0.3.0) is available via the authors website.

Make sure you also grab the patch for Amazons latest API changes, mentioned in the comments.

Answered by: Marcus891 | Posted: 25-10-2021

Answer 5

pyaws seems to be the best one out there. I used it here (my source code) It worked fine for me.

Answered by: Aldus340 | Posted: 25-10-2021

Answer 6

How about boto? Anyone have any experience with it? I just started looking for a Python package for Amazon and boto looks up to date (v1.8c release 28-Jun-2009), active and complete (has a long list of supported interfaces).

Answered by: Anna786 | Posted: 25-10-2021

Answer 7

The only other library I'm aware of is pyAmazon, which is the predecessor of pyaws. If you're familiar with the Amazon API (or are willing to become so), you could probably put together something yourself with ZSI.

Answered by: Fiona586 | Posted: 25-10-2021

Answer 8

pyaws is the best in my opinion. The most available version is 0.2.0, but there is also a version 0.3.0 that is somewhat harder to find. The best maintained version of it that I have found though, which is based on 0.3.0, is on bitbucket.

Answered by: Ned860 | Posted: 25-10-2021

Similar questions

xml - Pure Python XSLT library

Is there an XSLT library that is pure Python? Installing libxml2+libxslt or any similar C libraries is a problem on some of the platforms I need to support. I really only need basic XSLT support, and speed is not a major issue.

java - Which library should I use to write an XLS from Linux / Python?

I'd love a good native Python library to write XLS, but it doesn't seem to exist. Happily, Jython does. So I'm trying to decide between jexcelapi and Apache HSSF:

Python server side AJAX library?

I want to have a browser page that updates some information on a timer or events. I'd like to use Python on the server side. It's quite simple, I don't need anything massively complex. I can spend some time figuring out how to do all this the "AJAX way", but I'm sure someone has written a nice Python library to do all the heavy lifting. If you have used such a library please let me know the details. Note: ...

python - How to edit raw PCM audio data without an audio library?

I'm interested in precisely extracting portions of a PCM WAV file, down to the sample level. Most audio modules seem to rely on platform-specific audio libraries. I want to make this cross platform and speed is not an issue, are there any native python audio modules that can do this? If not, I'll have to interpret the PCM binary. While I'm sure I can dig up the PCM specs fairly easily, and raw formats are easy e...

MS Access library for python

This question already has answers here:

python - Library to read ELF file DWARF debug information

Any recommendations for a good cross-platform library for reading ELF file debug information in DWARF format? I'd like to read the DWARF debug info in a Python program.

How to specify native library search path for python

I have installed lxml which was built using a standalone version of libxml2. Reason for this was that the lxml needed a later version of libxml2 than what was currently installed. When I use the lxml module how do I tell it (python) where to find the correct version of the libxml2 shared library?

voip - Python SIP library

Closed. This question does not meet Stack Overflow guid...

python - Is there a class library diagram for django?

I'm looking for a way to find out the class structure at a glance for django. Is there a link to an overview of it?

RTSP library in Python or C/C++?

I am trying to find any RTSP streaming library for Python or C/C++. If not is there any other solutions for real time streaming? How much easy or difficult it is to implement RTSP in Python or C/C++ and where to get started?

Still can't find your answer? Check out these communities...

PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python