2018-02-13 22:58:10 +08:00
|
|
|
import os
|
|
|
|
|
2018-03-02 23:01:22 +08:00
|
|
|
|
2018-02-13 23:16:13 +08:00
|
|
|
def mapbox_api_key():
|
2018-02-13 22:58:10 +08:00
|
|
|
"""Returns Mapbox API key. Requires setting MAPBOX_API_KEY environment variable."""
|
|
|
|
return os.environ['MAPBOX_API_KEY']
|
|
|
|
|
2018-03-02 23:01:22 +08:00
|
|
|
|
2018-02-17 00:43:22 +08:00
|
|
|
def tomtom_api_key():
|
|
|
|
"""Returns TomTom API key. Requires setting TOMTOM_API_KEY environment variable."""
|
|
|
|
return os.environ['TOMTOM_API_KEY']
|
2020-01-14 20:25:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
def geocodio_api_key():
|
|
|
|
"""Returns Geocodio API key. Requires setting GEOCODIO_API_KEY environment variable."""
|
|
|
|
return os.environ['GEOCODIO_API_KEY']
|