4 ms·
Anybody gotten this to work at all? I'm trying to locate based on wifi info alone, but all I ever get back is "not_found". A working example would be nice, to
by hamburglar 13y ago
Anybody gotten this to work at all? I'm trying to locate based on wifi info alone, but all I ever get back is "not_found". A working example would be nice, too, since the example data and the API doc seem to disagree on what goes in the "key" field (example request shows "3680873e9b83738eb72946d19e971e023e51fd01" but the docs say it should be a BSSID and "look similar to 01:23:45:67:89:ab").
edit: I'll save anyone who wants to try a lot of trouble and give you the one piece of information that their API docs and announcements all inexplicably avoid telling you, and which I found by digging through their client code: The API endpoint URL is https://location.services.mozilla.com/v1/ https://location.services.mozilla.com/v1/ :)
- cpeterso 13y agoThe docs should be fixed now. Thanks for pointing out the problem. <:) https://github.com/mozilla/ichnaea/compare/3a3ed20df078...4e344c7f5764 https://github.com/mozilla/ichnaea/compare/3a3ed20df078...4e... The location API depends on having wifi measurements in our database, which is still tiny compared to big players.
- hannosch 13y agoThx for the feedback, I've fixed the example to have the right format and provided full URL's in the API docs. The docs where written under the assumption of being reusable for anyone installed a ichnaea server and not just the specific instance we currently run. But that apparently isn't all too helpful right now :)
- hamburglar 13y agoThanks for the fix. It was clear that the ichnaea docs were intended to be generic, but there's also this bit: "More information about the specific instance hosted by Mozilla can be found at https://wiki.mozilla.org/Services/Location" https://wiki.mozilla.org/Services/Location" which leads to a page that also doesn't list the endpoint API.