Made for Rzethon 2018
POST/call?text=question in your favourite language
GET /resp
Returns answer in language you asked
{
"text": ""
}
GET /find?object=<tag>&lat=<latitude>&long=<longitude>
Returns nearest object tagged with this tag and code 200
{
"name": "",
"lat": 1.0,
"long": 1.0
"bus": {
"StartStation": {
"name": "",
"Langtitude": "",
"Longitude": ""
},
"EndStation": {
"name": "",
"Langtitude": "",
"Longitude": ""
},
"Buses": [],
"Times": []
}
}
POST /task?title=<task title>&description=<task_description>&contact=<email, phone etc>&proposed_gain=<gain for person who will complete it>
Creates new task
Positive returns 203
GET /task
returns task list and code 200
"task_list": [
{
"title": "",
"contact": "",
"proposed_gain": ""
},
{
"title": "",
"contact": "",
"proposed_gain": ""
},
GET /question?problem=<problem keyword>
returns solution