Open source toolkit of strategies and tools to promote city API discoverability
Topic: The accessibility and discoverability of City Government Application Programming Interfaces (APIs)
Goal: To identify the tools and strategies that are most effective in enabling communities, businesses and startups to identify opportunities to use application programming interfaces (APIs) to build new products, applications and services in a way that can also scale to other city locations.
Application programming interfaces (APIs) are the programming protocol descriptions that enable a city government’s open datasets and real-time sensor data collection to be plugged into applications, visualizations, and directly into business processes.
For example, real-time data on public transport and city rental bike schemes is made accessible to external businesses and developers through an API. Startups and businesses then create mobile applications that use the API to pull real-time data from the city’s data sources to let app users know when a bus is arriving or running late, or to feed data into a bike rental app to tell users if there are any bikes available in the bike bay nearest their location.
Cities are now opening up more and more of their data and real-time sensor feeds via APIs and encouraging developers to foster innovation by creating new products. In particular, cities are hoping that third-party (external) developers will use a city’s APIs to create new civic tech solutions, apps that enhance the livability of residents and visitors to a city, and foster local business growth.
APIs are also central to the notion of the "city as a platform” and “government as a platform”. Citizens and businesses will be able to use APIs to directly transact with city authorities. For example, a planning consultancy or architecture business could use APIs to pay for, submit and track their planning permissions and even engage with local communities about their proposals all directly via an API.
However, as has been seen from the promise of open data, opening up data access requires a concerted campaign to educate potential end users of the availability and to provide the tools and opportunities to search for useful APIs, and to encourage their uptake through telling stories of successful use cases. For example, local residents groups could use city air quality data APIs to track local risks, but are often unaware that this data is available or that an API would enable them to visualize measurement levels in real time and create automatic alerts for their community when air pollution levels reach a certain threshold.
Cities host hackathons as one means to draw attention to these opportunities, while others have startup accelerator funding programs that encourage entrepreneurs to build new civic tech products using open data APIs. However, hackathons are often one-off projects that target a particular audience, and while they raise some awareness of the opportunities, they often do not have lasting impact. The majority of local businesses may not be aware of the opportunities that can be created with an API, and even if they are, it is difficult to identify from a city’s website where the API documentation is held and what sort of APIs are available to use.
The main city I will focus on for this project will be Barcelona (as this is where I live), but i will also be looking at API discoverability strategies in a number of cities for this project, including:
- Barcelona
- Valencia
- Santander
- Helsinki
- Amsterdam
- Singapore
- Leeds
- Melbourne
- Gold Coast
- New York
- Portland
- Detroit
- Vancouver
In some cases, I would build or mockup the idea based on the research I have undertaken, and in other cases I would fork to existing open source resources to enable the GitHub repository to be used as a central resource for cities.
The goal will be to test the idea at the Barcelona Smart City Hack on 18 April, 2015.