2018-02-13 22:58:10 +08:00
|
|
|
import os
|
|
|
|
|
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-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']
|