dataservices-api/server/lib/python/cartodb_services/test/credentials.py

7 lines
155 B
Python

import os
def api_key():
"""Returns Mapbox API key. Requires setting MAPBOX_API_KEY environment variable."""
return os.environ['MAPBOX_API_KEY']