alefiori82 / amazon-paapi5 Goto Github PK
View Code? Open in Web Editor NEWAmazon Product Advertising API 5.0 wrapper for Python
License: MIT License
Amazon Product Advertising API 5.0 wrapper for Python
License: MIT License
guys to me from this mistake can you help me?
Status code: 401
Errors : {"__type":"com.amazon.paapi5#InvalidSignatureException","Errors":[{"Code":"InvalidSignature","Message":"The request has not been correctly signed. If you are using an AWS SDK, requests are signed for you automatically; otherwise, go to https://webservices.amazon.com/paapi5/documentation/sending-request.html#signing."}]}
Request ID:
INFO:root:'NoneType' object is not iterable
Error calling PA-API 5.0!
Status code: 401
Errors : {"__type":"com.amazon.paapi5#InvalidSignatureException","Errors":[{"Code":"InvalidSignature","Message":"The request has not been correctly signed. If you are using an AWS SDK, requests are signed for you automatically; otherwise, go to https://webservices.amazon.com/paapi5/documentation/sending-request.html#signing."}]}
Request ID:b
INFO:root:'NoneType' object is not iterable
come facio a instalare il tuo pacheto sul progeto di samir puoi inserirlo tu e mi passi il tutto tramiìte zip se vuio ti passo telegram cosi ci sentiamo li ?
I'm using this library connecting to the 'IT' region, using standard AWS credentials (id, secret and tag).
Some of the products returned contain a 'ghost' saving that's not shown in Amazon's page.
Let's take for example this product:
https://www.amazon.it/dp/B07WP5RDM2?tag=sshopping-21&linkCode=osi&th=1&psc=1
'price': {'amount': 9.99,
'currency': 'EUR',
'display_amount': '9,99\xa0€',
'price_per_unit': None,
'savings': {'amount': 20.0,
'currency': 'EUR',
'display_amount': '20,00\xa0€ '
'(67%)',
'percentage': 67,
'price_per_unit': None}},
The full price should be 29.99, with a discount of 67%. In reality 9.99 is the full price shown and no discount is reported.
The code I'm using to recover this product is:
results = client.search_items( item_count=10, item_page=1, keywords="ELEFULL 10000mAh Power Bank Caricatore Portatile,2 USB Batteria Esterna con LED Digitale Display per Telefoni Moible, Tablet e Altro" )
I've uploaded the full output for convenience: https://gist.github.com/aegroto/e0ed6b85ce0f70add503584e49605b60
Could you implement the MinSavingPercent param for filter querys?
I've tried running sudo pip install amazon-paapi5
and sudo pip install amazon-paapi5==1.1.1
without success
As object of issue I'm interested to take from whom the product is shipped.
Ex:
Sold by ABCDE shipped by BCDEF
Thanks!
The Example :
products = amazon.search_items(keywords='harry potter')
print(product['data'][0].image_large)
print(product['data'][1].prices.price)
Doesn't work
This works :
products = amazon.search_items(keywords='harry potter')
print(products['data'][0].image_large)
print(products['data'][1].prices.price)
Can you add product Rating and Number of Reviews in the output?
[ERROR/2020-03-03 04:18:14,870] root: (ApiException)
Reason: {"__type":"com.amazon.paapi5#InvalidSignatureException","Errors":[{"Code":"InvalidSignature","Message":"The request has not been correctly signed. If you are using an AWS SDK, requests are signed for you automatically; otherwise, go to https://webservices.amazon.es/paapi5/documentation/sending-request.html#signing."}]}
My device timezone is UTC.
Accessing Spain (ES) marketplace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.