Exploring Transport API
To get started, let's have a look at the data source that we are going to use in this chapter. Transport API is a data service for all public transport services in the UK. If you are in a different country, you would be able to find something similar to your country. But you can still play around with this service. Transport API is a data platform for transport data providing information on live arrivals and departures, timetables, journey planning, fares, performance indicators, and commuters tweet mapping. Data is served using RESTful web services.
Creating a developer account
- To get started, create a developer account at https://developer.transportapi.com and get an app key and app ID:

- Let's try the following sample request. Replace
YOUR_APP_ID
andYOUR_APP_KEY
with your app ID and key. Execute the followingGET
request from a web browser. At this request, we are trying to retrieve information concerning Euston train station, in London:
http://transportapi.com/v3/uk...