Basic PHP/Curl script to search Amazon Search Results
$10-30 USD
Completed
Posted about 9 years ago
$10-30 USD
Paid on delivery
Hi, I want a simple script that does the following:
1. Provides a simple form where I:
a. Enter ASINs (amazon product ids) (max 10)
b. Specify a keyword phrase
c. specify which amazon ([login to view URL])
2. It will then search amazon for the that keyword phrase and look through all 20 pages of search results to see if that particular ASIN is listed.
3. If it finds a match it will return the link to that product that is in the search results.
Example:
My Product is
[login to view URL]
which means ASIN is B00N0E0B7A
If you search [login to view URL] for “power bank 10000mah”
http://www.amazon.co.uk/s/ref=sr_pg_1?rh=i%3Aaps%2Ck%3Apower+bank+10000mah&keywords=power+bank+10000mah
and then go to page 3 of the search results you would see the link to Breett power bank in position #7
the script therefor return this link
http://www.amazon.co.uk/Breett-10000mAh-Dual-Port-Portable-External/dp/B00N0E0B7A/ref=sr_1_39?ie=UTF8&qid=1425043464&sr=8-39&keywords=power+bank+10000mah
If that was the only ASIN it would stop or if there were multiple ASINs it would continue to look for the others.