- Notifications
You must be signed in to change notification settings - Fork6
An unofficial repository of civil service jargon
License
MatMoore/jargon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An unofficial repository of civil service jargon.
Usehttps://matmoore.github.io/jargon/{ACRONYM}/
For example:curl https://matmoore.github.io/jargon/CO/
{"CO": [ {"definition":"Cabinet Office","uri":"government-organisation:D2" }, {"definition":"clerical officer" } ],"_links": [ {"name":"government-organisation","href":"https://government-organisation.register.gov.uk/records/{rel}","templated":true } ]}
curl https://matmoore.github.io/jargon/
(the structure of this response may change without notice)
See thedata directory for more details about the data returned by the API. You can also download the data in CSV format.
First runbundle exec rake build
from the root of the project, then navigate to thebuild
directory.
You can preview the JSON in the browser by runningpython -m http.server 8080
and browsing tolocalhost:8080
(this requires python 3 to be installed).
The files are generated asindex.json
but github pages serves them as the root for that path. SeeMaking a JSON API with Github Pages.
If you want to see what it looks like on github pages, you can fork the repo and runbundle exec rake publish
to update thegh-pages
branch.
All code is licenced under theMIT license.