Creating a civic tech app with the Chicago data portal

A lot happened last month in April. Chi Hack Night turned five! And the City of Chicago Data Portal got a major facelift.

giphy

This is a mini tutorial on how to start creating a civic tech app using the City of Chicago Data Portal.

How to get an API Key

Go to https://data.cityofchicago.org/

tut1
Go to the upper left hand corner and click on the Sign In Button.
tut2
Sign in with your username and password. If you do not have one just click Sign Up to create an account.
tut3
On the upper right hand corner click on Edit Account Settings.
tut4
On the left hand side you will see a menu. Go to App Tokens.
tut5
Fill out the form and click the big read Create button

tut6

tutu7
There you have it, your app token.

 

How to find API documentation on any dataset

 

Go to the data set you want to create an app for. In this case the Alternative Fuel Locations – Chicago

tut8
Click on the Export Button, its baby blue color.
tut9
Click on the drop down accordion that says SODA API
tut10
Then click on API Docs and it will show you how to extract data programmatically in JQuery, Python Pandas, SAS, Ruby and other languages 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s