Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A sample app to show how to connect to the Socrata Open Data API using the OAuth2 Rubygem


Socrata Open Data API OAuth Sample App

This application shows how to connect to any Socrata-powered website using the OAuth2 Rubygem. To use it, clone it and copy config.yml.sample to config.yml, and fill in the details you get when you register for an application on your Socrata account.

Then, either run it locally by doing a bundle install and then shotgun and visiting http://localhost:9393, or push it to Heroku to run it on the web for free.

For more details, please see the SODA documentation about Authentication. You can post any questions you might have to the Socrata support website, where we’d be happy to help you.

Happy hacking!

Something went wrong with that request. Please try again.