An open API service indexing awesome lists of open source software.

https://github.com/adeekshith/location-predict-server

Predicts the location of a person depending on the previously logged location data. Location data can be logged using any mobile device.
https://github.com/adeekshith/location-predict-server

Last synced: 11 months ago
JSON representation

Predicts the location of a person depending on the previously logged location data. Location data can be logged using any mobile device.

Awesome Lists containing this project

README

          

# Location Predict Server

Logs data from provided by the client and predicts the location based on previously logged data.

####WARNING
This project is still in an incubator stage. It is under development and not yet ready for production purposes. Feel free to fork it and contribute.

## API

### Storing location data

#### Syntax
`http://mydomain.com/location-predict/api/v1/logdata//////`

#### Depricated Syntax
`http://mydomain.com/logdata//////`

#### Sample response

```json
{
"error":{
"code":0,
"comment":"valid"
}
}
```

- error/code is `0` when there is no error and is `1` when there the given input is not valid.

### Get predicted location

#### Syntax
`http://mydomain.com/location-predict/api/v1/predict-res/`

#### Depricated Syntax
`http://mydomain.com/logdata//predictlocation`

#### Sample response

```json
{
"prediction":{
"latitude":34.4455,
"longitude":76.6767
},
"status":{
"action":"none",
"situation":"normal"
}
}
```