Open jessicamrbr opened 5 years ago
What do you mean by "full list of banks"?
In the repository, initial data is available at:
dbdb.io/data/initial_data/
Would it be possible to access all current data?
Let me see about adding a REST API.
I started looking into adding djangorestframework but it as a bit more complex than what I had time for. The REST API should be strictly read-only:
https://github.com/cmu-db/dbdb.io/commit/1c4738dec906f932583fb2b85665ee8b9d0e46a9
@apavlo what data would you like exposed in the API? Based on this thread, it looks like you only want it to be read-only. Should it only be accessible to users with accounts?
@pembo13 Yes, it should be read-only. The REST API can be open to the public.
@apavlo which models (data) do you want exposed? For example, I'm guessing System
but not SystemVisit
It should just be System
.
@apavlo please take a look at the demo, I'd like to know if you'd like me to add more fields, for example, the meta data: http://dbdb.devpreviews.com/api/v202004/systems
I do have a few questions:
The code is in this branch if you'd like to review: https://github.com/cmu-db/dbdb.io/tree/issue_62
Fixed the Travis build in this branch as well.
I would like to access the full list of banks and information to try creates a comparative tool.
Do you make this data available in any way?