0

I am trying to fetch seat availability from this ticket booking site to my android app ,but i cant find it from this website. Can anyone tell me how to get those info from a website like this..Where can i find the json or xml data of the seat availability or other info. Also if its using other protocol can you tell me which one is it?

http://tinyurl.com/3zetk5d/

Thanks in advance.

Abhilash
  • 2,864
  • 3
  • 33
  • 67

2 Answers2

0

You can't directly fetch data from a webpage. The developers of the webpage should provide APIs (web endpoints) which give you the relevant data in a particular format.

Shivam Verma
  • 7,973
  • 3
  • 26
  • 34
0

You can use jsoup to scrape data from webpages. Beware of the legal aspect ;)

Take a look at this: Android Web Scraping with a Headless Browser

Community
  • 1
  • 1
unrated
  • 252
  • 4
  • 22