I was wondering if someone could help me, im looking to make a program to check if an item is in stock on a website, but im not too sure about how to go about it. Any pointers?

Recommended Answers

Are you talking about checking in the database (you have access to it) or scraping an HTML page to see what is on it?
If scraping, you need to use the WebRequest class to retrieve the contents of a webpage and then parse through it looking for what you need. …

Jump to Post

All 2 Replies

Are you talking about checking in the database (you have access to it) or scraping an HTML page to see what is on it?
If scraping, you need to use the WebRequest class to retrieve the contents of a webpage and then parse through it looking for what you need. You can find plenty of screen scraping tutorials online.

Sounds to me like you need a web service, time to check with the website owner whether one exists or if one can be created. Assuming there is one, the owner of the website should have documentation on how to utilise it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.