Name: open-budget-data-api
Owner: ?????? ?? ??????
Description: Flask based data api for openspending
Created: 2016-09-26 17:05:03.0
Updated: 2018-05-24 11:25:40.0
Pushed: 2018-05-24 11:25:39.0
Homepage: null
Size: 86
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
{{ DESCRIPTION }}
{{ DOCUMENTATION }}
epare env if needed
nv venv
ce venv/bin/activate
install -r requirements.txt
rt PYTHONPATH=.:$PYTHONPATH
art app
on rest/main.py
Browse to http://localhost:8888/api
Browse to http://localhost:8888/graphql
on setup.py build
er build .
Example of a graphql query:
dget(first: 10, year: 2016, where: "code like '002041%'", orderBy: "-net_allocated") {
edges {
node {
code, year, title, netAllocated
supports {
edges {
node {
subject, title, amountAllocated,
entity {
name, companyAddress
}
}
}
}
}
}
Please read the contribution guideline:
Thanks!