/ma-laws

The General Laws of the Commonwealth of Massachusetts

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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