In Part 3 of this series, I gave examples of finding the ‘Routes of Things’ using the Unified API. This post will focus on roads – how to find and make use of the traffic, road disruption and planned works information on London’s road network.
We’re really keen for customers to check for disruption before they travel on all forms of transport, including the capital’s roads. Developers working with our Unified API have a really important role to play in developing products that meet road users’ needs. This is particularly important as we implement our Road Modernisation Plan – £4bn of investment in improving London’s roads – so planning ahead during these works is crucial for businesses and drivers across the city.
This means that the apps developers create will be meeting a genuine need, and we’re keen to make this process as easy as possible by explaining what data is available, how it can be used, and by taking feedback so we can make improvements.
All of the API examples in this page are live, however they do not include API authentication tokens. This means that if you follow the link as is, you will be using anonymous access, which is throttled for fair use, so you may get a 403 response. It is recommended for your own development you obtain an ‘app_key’ and ‘app_id’ by registering here. The data in these examples will be in JSON format, so installing a JSON formatter plugin in your browser will help you read the data returned.
Let’s start with the most prominent example of the roads information, shown when viewing the Traffic status board.
The Traffic Status Board gives info on all TfL managed routes on the London road network
In Part 2 of this series, Dan gave examples of finding the “Locations of Things” using the Unified API. This week, I’ll focus on the “Routes of Things” – the lines, routes and services that join up the locations on the TfL network.
As before, all of the API examples in this page are live, however they do not include API authentication tokens. This means that if you follow the link as is, you will be using anonymous access, which is throttled for fair use, so you may get a 403 response. It is recommended for your own development you obtain an “app_key” and “app_id” by registering here. The data in these examples will be in JSON format, so installing a JSON formatter plugin in your browser will help you read the data returned.
Let’s begin with the most prominent use of routes on the website – the status board. In the Unified API a line is the top-level entity which groups the routes of a service together. The Line endpoint allows us to request all of the lines for a given set of modes, so is a useful starting point for navigating into the available routes. Showing the status of a line is such a common use case that the endpoint also includes an option to include the service status for each line by appending /Status to the URL:
With the TfL website having now been live for around 18 months, the Analytics team within TfL Online are continuing to see increased levels of traffic arriving on the site and in September we achieved a notable landmark.
With over 100 million pages accessed in the month, September was the first time this year that we’ve surpassed 100m page views without a strike occurring in that month. In comparison with September 2014, we saw a year-on-year increase of 10% as our site received a staggering 23.2 million visits during the month:
September 2015 saw a rise of +10% year-on-year, with the site receiving over 23.2 million visits during the month.
The 7th Over the Air took place on the 25th & 26th of September, 2015 at St. John’s in Hoxton, London and Transport for London were delighted to provide two speakers at the event on Friday 25th.
Over the Air is an annual 2-day event where the mobile developer community come together for ‘Hack Days,’ aimed at driving learning, collaboration and experimentation amongst developers, with software development recognised as a creative discipline. You can read more about the history, ethos and structure of the event on the Over the Air website and follow them on Twitter.
Rikesh Shah, Lead Digital Relationship Manager and Gordon Watson, Chief Technical Architect at Transport for London, were there to provide an overview of Open Data at TfL and to outline our commitment to the provision of free, open data which enables app developers to produce a huge range of travel products.
Transport for London’s Rikesh Shah, Lead Digital Relationship Manager and Gordon Watson, Chief Technical Architect, presented TfL’s Unified API at Over the Air 2015
Last week, I gave a brief overview of what’s in the API, and said that if something is on our website then it should be in our API. Over the next couple of weeks we are going to take a look at some of the data in the API that you can use to build your own applications.
There are a few things to note before I begin going into specific data examples. Firstly, all of the API examples in this page are live, however they do not include API authentication tokens. This means that if you follow the link as is, you will be using anonymous access, and anonymous access is throttled for fair use, so you may get a 403 response.
It is recommended for your own development you obtain an “app_key” and “app_id” by registering here. Access to our API is free to all. Append you unique “app_id” and “app_key” as querystring parameters to get dedicated, higher rate limits than anonymous. If you need even high rate limits, send us a message using the portal. The data in these examples will be in JSON format, and it is recommended that you install a JSON formatter plugin in your browser, this will help you read the data returned.
This week we will focus on the “Location of Things”, in particular finding the location and other useful information about transport related things in London. Let’s start with stations and stops – you’ll need to take a look at this web page:
TfL have been a leader amongst Transport and Government departments in the provision of free and open data to the public, and actively encourage the use of data by 3rd party developers across multiple application domains, with a data subscriber database of 5000+ registered application developers and organisations.
With the use and integration of TfL’s Open data, developers have produced a wide and varied selection of mobile and desktop applications, spanning the fields of travel and trip planning to historic city data analysis and mining. As an early adopter of the Open Data initiative (particularly within transport), TfL has provided Open Data since 2007.
With the use and integration of TfL’s Open data, developers have produced a wide and varied selection of mobile and desktop applications
This post is designed to build on the previous posts within this blog that discuss TfL’s choice of cloud hosting for the website. Below are videos of Phil Young, the head of TfL Online, and Solution Architect Dan Mewett speaking about the TfL website and the cloud at events hosted by Amazon Web Services.
These videos provide a good overview of TfL’s choice and implementation of solution, offering insights into why we decided to switch to the cloud and how we’ve made it work.
Speaking at the AWS Government, Education, and Nonprofits UK Symposium 2014, Phil offers a brief intro to TfL and its online services, why we chose the cloud for hosting our new website, how the site was built and what our experiences were in the first 6 months or so after launch.
Dan was speaking at the 2015 AWS Summit London, focusing on issues such as how the cloud powers our services, auto scaling, security and disaster recovery in the cloud as well as other key aspects of our platform implementation.
Senior members of the TfL Online, Strategy and Stakeholder Engagement teams met with representatives of Transport for All on Thursday. The meeting was called to discuss how TfL can improve the experience of using Journey Planner for wheelchair users and those with accessibility needs.
This gave us a great opportunity to engage with a very knowledgeable group who were able to give us valuable insights into how we can continue to make improvements to Journey Planner and the way we serve our information.
A key outcome for Transport for All is that these improvements will mean wheelchair users are not reliant on personal experience and knowledge of travelling in London, and are instead served more accurate, reliable information to plan journeys. It‘s crucial that those with accessibility needs aren’t put off making certain journeys due to any gaps or inaccuracies in the information they receive.
TfL members of staff discuss how to improve wheelchair users’ experience of using Journey Planner with Transport for All.
As expected, last week saw 4 days of high demand on our website and open data during the Tube strike and in the build up to it, with traffic at 1.67 x normal levels over Wednesday 5th and Thursday 6th August.
The strike started on the evening of Wednesday 5th which was the busiest day, with 1,315,328 visits, though this was considerably lower than the busiest day of last month’s Tube strike, when we hit a record 2,058,618 visits.
With 1.3 Million visits, Wednesday 5th August was the 6th busiest day this calendar year, preceded by January and July strike days.
The morning of Friday 7th continued to see an increase in demand, but with numbers starting to drop back to normal levels as the day went on.
Our web and data services performed well throughout the period of high demand, with no reports of issues accessing our services.
London Underground trade unions are planning a 24-hour strike on the Tube from 18:30 on Wednesday 5 August. If the strike goes ahead, there will be no Tube service from 18:30 on Wednesday 5 August until Friday 7 August. There will be no Tubes on Thursday 6 August. We are expecting a normal service to run on Friday.
DLR, London Overground, tram and TfL Rail services will be running as normal, though all of these services are expected to be much busier than usual and we have some tools available to help you get around during the disruption.
Using our Status updates tool, you can check on the status of all modes of transport. Here you can see the Traffic status with detailed info