Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1014 Bytes

api-tokens.md

File metadata and controls

33 lines (21 loc) · 1014 Bytes

API tokens

About API tokens

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

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

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:

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

Forwarding API tokens to application and tests

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

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