Android – get prices from retailer websites
I'm building an IOS and android app that scans the bar code and displays the product page of the book from the retailer's website. But now, I just want to get the price from the product page, not the whole page
How to extract the product price from the page because RedLaser uses its own application
Product page: http://goo.gl/rDxAg Price: RS 321
I want something like this, which can be implemented on IOS and Android without using an external server
I am a novice, so any help will be highly appreciated
resolvent:
If the official API on the website is not available, you must parse the downloaded HTML to obtain the required data. IOS and Android have many third-party HTML parser libraries
For IOS, see parsing HTML on the iPhone
For Android, see parse HTML in Android
There are some code examples in both links to show you how to do this
I hope it will help