-
Notifications
You must be signed in to change notification settings - Fork 9
Webservice API Documentation
ChrizZz110 edited this page May 21, 2016
·
1 revision
This is the documentation of OSTMap's webservice.
HTTP-Method: GET
Query-Parameters (all required):
-
field : a comma seperated list of json fields to search in
-
token: the token to search for
Example: http://localhost:8080/api/tokensearch?field=user,text&token=yolo
Response:
- content-type: application/json; charset=UTF-8
- content: a json array containing matched tweets as json object, one per line
HTTP-Method: GET
Query-Parameters (all required):
-
bbnorth : the northern latitude for the bounding box to search
-
bbsouth: the southern latitude for the bounding box to search
-
bbeast : the eastern longitude for the bounding box to search
-
bbwest: the western longitude for the bounding box to search
-
tstart : the start point of the search time period in s (unix time)
-
tend: the end point of the search time period in s (unix time)
Response:
- content-type: application/json; charset=UTF-8
- content: a json array containing matched tweets as json object, one per line