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.
- Host: GitHub
- URL: https://github.com/adeekshith/location-predict-server
- Owner: adeekshith
- License: apache-2.0
- Created: 2015-04-22T22:54:16.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-29T18:05:35.000Z (almost 3 years ago)
- Last Synced: 2025-01-10T05:56:10.564Z (over 1 year ago)
- Language: Python
- Size: 1.88 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
}
```