The General Laws of the Commonwealth of Massachusetts
JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_ddoc
bower_components
css
fonts
js
templates
.couchapprc
.ericaignore
.gitignore
Makefile
bootstrap-license
index.html
laws.webapp
maLaws.json
package.json
readme.md

readme.md

ma-laws

laws of Massachusetts as JSON, there is also a version in couchdb feel free to replicate it and a work in progress web app

or just query the web api each list is available as a page or as JSON, the JSON is also available as JSONP by appending ?callback=callback

get a section as JSON

http://macode.org/db/c{{chapter}}s{{section}}

as JSONP

http://macode.org/db/c{{chapter}}s{{section}}?callback={{callback}}

as HTML

http://macode.org/c{{chapter}}s{{section}}

e.g. section 2 of chapter 276 is http://macode.org/db/c276s2 for JSON, http://macode.org/db/c276s2?callback=cb for JSONP and http://macode.org/c276s2 for HTML

you can use the web app to find them as HTML, the JSON formulae are as follows