wloc  0.4.0
Simple Wi-Fi geolocation library and tool
About API tokens

This library use API tokens from following third-party geolocation provides:

  • Yandex.Locator;
  • Google Geolocation;
  • Mozilla Geolocation.

Getting API tokens

In order to use this library, you need to receive API tokens:

Forwarding API tokens to library

Library need at least one token from supported providers, forwarded as parameter:

  • ya_apikey - Yandex.Locator;
  • gg_apikey - Google Geolocation;
  • mm_apikey - Mozilla Geolocation.

Forwarding API tokens to application and tests

Application need at least one token from supported providers, forwarded as environment variables:

  • APIKEY_YANDEX - Yandex.Locator;
  • APIKEY_GOOGLE - Google Geolocation;
  • APIKEY_MOZILLA - Mozilla Geolocation.