Amazon Inventory Scraper
===================
Why open source this
I am in the process of open sourcing multiple of my projects/libraries that might be of help for other developers.
What does this package/lib do
It was coded with the aim to spy/scrape amz products' inventories and help users/merchants come up with new sourcing ideas.
Get started
npm install amz-spy
Available methods
scrapeAmazonProductPage(requestObject)
This method returns a promise and must be used before getAmazonInventory Info
getAmazonInventoryInfo(requestParams, productInfo)
This method returns a promise and needs to be called after scrapeAmazonProductPage
Example :
const amzSpy = const requestObject = url : 'THE PRODUCT URL' method : 'GET' encoding : 'binary' timeout : 20000 proxy : 'YOUR PROXY or null' createJar : true amzSpy
Error handling
If an error occurs the functions will return errors in an Object Format {error : 'Error type'} This section will be completed ASAP
Liabilities
I am not responsible for how you use this library. You have to respect the rules written by Amazon