Budget Key Data API service
3.0K
{{ DESCRIPTION }}
{{ DOCUMENTATION }}
# prepare env if needed
pyvenv venv
source venv/bin/activate
pip install -r requirements.txt
export PYTHONPATH=.:$PYTHONPATH
# start app
python rest/main.py
Browse to http://localhost:8888/api
Browse to http://localhost:8888/graphql
python setup.py build
docker build .
Example of a graphql query:
{
budget(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!
Content type
Image
Digest
sha256:ab7531ade…
Size
108.3 MB
Last updated
about 3 years ago
docker pull budgetkey/open-budget-data-api