Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8277195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:37:04+00:00 2026-06-08T08:37:04+00:00

i want to fetch Bus time and number etc using This in json or

  • 0

i want to fetch Bus time and number etc using This in json or XML format in android , i am able to fetch mode=driving,mode=walking,mode=bicycling etc information , see this link for reference but i want mode=transit , you can check this Link here in Left corner you can see Bus Number, Bus arrival minutes, etc , i want these all details in XML or JSON format , can you suggest me the link or how can i do this ?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:37:05+00:00Added an answer on June 8, 2026 at 8:37 am

    i got answer from https://stackoverflow.com/users/1171619/mike

    1)There’s no official Google Transit API at the momemnt. Transits are provided by agencies, and most of Transits are not public. So, Google is not allowed to open them as API.

    2)u may try to consume the “unofficial” data using your link + “&output=json”.

    3)wever, the result won’t be a valid JSON. Instead, that’s something, that can be easily converted to a JavaScript object. (The differences are: there is no quotes around property names, the strings are not properly encoded etc.)

    4)Imagine you got this JavaScript object. However, it won’t allow you to easily get the structured route details. Object’s properties contain the route points coordinates, but no descriptions. The only place where the descriptions may be found is ‘panel’ property, which contains a chunk of HTML text (you may find a link to the sample of HTML in my blog post)

    5)So, you’ll have to convert this HTML into XML (X-HTML) and then build the parser of this XML to get the essence data of a trip.

    6)Seems like a bit of overkill to me. Having in mind, that “unofficial” API may change in the future, including slight changes in ‘panel’ HTML structure that will kill your parser.

    Posted By Mike

    Thanks Buddy

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i Want to fetch this data using json decode. Please Help.. So far i
I want to fetch some content from a webserver using Net:HTTP, like this: url
I want fetch last record using hibernate criteria Can u help me?
I want to fetch the title of a webpage which I open using urllib2.
I want fetch the parameters of my hard disk. Using the technique described here
I want to fetch posts based on their status, so I have this code
I want to fetch some result from table depending on time range so i
I want to fetch Google news data by XML parsing and save it into
I want to fetch posted data. But I am using no form. The data
I want to fetch the machine's serial number key. Does any body help me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.