Skip to content
client for the socrata open data api (soda).
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json
test.js

README.md

sodajs-socrata

javascript client for socrata's soda api.

Read the socrata developer docs.

Tested with node 0.10.0 so far.

Will likely work in the browser using browserify.

Usage:

var soda = require('sodajs-socrata');

var s = new soda({
  url: 'http://data.seattle.gov'
});

s.all({
  // the id of the data set on socrata. 
  // find it in the url: https://data.seattle.gov/Community/beaches-in-seattle/9mk3-vhgr
  resource: 'bnq7-2pc8',
  success: function(data){
    // do stuff with the data
  }
});
Something went wrong with that request. Please try again.