Using python-amazon-product-api in google appengine without lxml

Possible duplicate:
Amazon API Library for Python?

I want to use the python-amazon-product-api shell to access the Amazon API:

http://pypi.python.org/pypi/python-amazon-product-api/

Unfortunately, it relies on lxml, which is not supported in the Google Appengine app.

Does anyone know a workaround? I'm only looking to do basic things with an API, so that I can use Elementtree instead? I'm a newbie, so using anything else besides how it comes out of the box is still a problem :)

Thanks tom

+4
source share
4 answers

You can try to use this plug.

This is the python-amazon-product api minor fork located at:

http://bitbucket.org/basti/python-amazon-product-api/wiki/Home

This library uses lxml, which is prohibited by the Google engine. This fork replaces lxml with BeautifulSoup.

+1
source

Just opened my question. If you still want to use python-amazon-product-api in GAE, follow the instructions here:

http://packages.python.org/python-amazon-product-api/use-your-own.html

The next version of the API (version 2.5 will be released in the next few weeks) will support parsing without lxml out of the box.

+1
source

As of yesterday (February 27, 2012), lxml should be available - see here http://googleappengine.blogspot.com/2012/02/announcing-general-availability-of.html

0
source

All Articles