I - SUMMARY
==========
Project entails writing an executable (providing source code as well) in Visual C# that provides the functionality below. It is needed by 5/23 11pm US time.
1. Asks user for a search string in a form
2. Searches [login to view URL] for that search string
3. There will be one of 4 outcomes:
a -- Amazon will find one result (e.g. search amazon for "Kreosotum 200c Boiron Homeopathics")
b -- Amazon will find multiple results (e.g. search amazon for "Kreosotum 30c Boiron Homeopathics")
c -- Amazon will not find a match but will suggest other results (e.g. search amazon for "Kreosotum 5ch 5.5g Seroyal/Unda")
d -- Amazon will not find any results (e.g. search amazon for "lkafje lkdjre")
4. Program will then scrape information from Amazon depending on the outcome. More details are provided below.
5. Program will write output to a text file.
6. The program will ask for another search string.
II -- DETAILS to be scraped
====================
After the program queries amazon for the search string,
1. It will note which of the scenarios mentioned above happen (described in section I.3 above)
2. If "a", "b", or "c" happen, program will then open each product details page and scrape the following: product name, manufacturer, price, seller, is it fullfilment by Amazon, number of units in stock, how many other sellers are selling the product, what is the lowest price other sellers are selling the product for, the ASIN, and the product rank, and the product rank category.
3. Program will write to the text file, in each row the following: the original search string, which scenario happened ("a", "b", "c", or "d"), and then the product details :product name, manufacturer, price, seller, is it fullfilment by Amazon, number of units in stock, how many other sellers are selling the product, what is the lowest price other sellers are selling the product for, the ASIN, and the product rank, and the product rank
For example, if amazon finds 3 results for a search string, the program will create three rows in the text file for that search string with the format described above (search string, which scenario (in this case "b"), then one row of details for each product.
For example, if amazon finds no results, the program will create just one row that will include the search string, and "d"