-
-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] REST API to get all configured locations? #147
Comments
Your right, I avoided this since I figured folks would do as you suggest. I can certainly add, it's easy. Ill put it up later this week! |
It would also be great if the |
@TheMegaTB @kiwiandroiddev I've added it now, see if this will work for you: https://www.internalpositioning.com/api/#get-locations It's live now, but I can still make modifications. |
Just out of curiosity, how is the accuracy calculated? |
@TheMegaTB The accuracy is calculated for the Naive Bayes implementation - it uses cross validation against a sequestered test set against the set used for learning. Its useful for figuring out which places aren't learned well. |
It should be noted that newly learned locations are not returned by |
Thanks, I updated the docs with that note |
Hi,
I wondered if there could be a new API for retrieving the list of all configured locations for a group on a server?
Something like
GET /locations?group=my_group
that returns:It seems that this data can be obtained by appropriating the existing
/location
call for some known user, but not without getting a lot of extra irrelevant data too (signal strengths) which isn't ideal for mobile clients.The text was updated successfully, but these errors were encountered: