Skip to content

Instantly share code, notes, and snippets.

@Tombert
Created March 7, 2016 05:18
Show Gist options
  • Save Tombert/816f3988f584f6158eab to your computer and use it in GitHub Desktop.
Save Tombert/816f3988f584f6158eab to your computer and use it in GitHub Desktop.
Hello!
This is a basic draft of the API right now.
`GET /events`
[{
"name": "Tombert's Cool Event",
"id":1,
"data":"{
\"date\":\"12-15-2016\",
\"description\":\" Where tomberts come to grow \"
}"
}
...
]
-----
`GET /event/{id}`
{
"name": "Tombert's Cool Event",
"id":1,
"data":"{
\"date\":\"12-15-2016\",
\"description\":\" Where tomberts come to grow \"
}"
}
---
` GET /events/{begin_date}/{end_data}`
[{
"name": "Tombert's Cool Event",
"id":1,
"data":"{
\"date\":\"12-15-2016\",
\"description\":\" Where tomberts come to grow \"
}"
},
{
"name": "Chucks Cool Event",
"id":1,
"data":"{
\"date\":\"12-17-2016\",
\"description\":\" Where tomberts come to grow \"
}"
}
...
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment