The following environment variables may be set:
export API_VERSION='v2'
export BASE_URL='http://api.ap.org/v2'
export AP_API_KEY='<<YOURAPIKEY>>'
export ELEX_RECORDING='flat'
export ELEX_RECORDING_DIR='/tmp/elex-recording'
export ELEX_CACHE_DIRECTORY='/tmp/elex-cache'
The AP API version. You should never need to change this.
Use a different base url for API requests. Helpful if running a mirror or archive of raw AP data like Elex Deja Vu.
Your API key. Must be set.
Path to the Elex cache directory. If not set, defaults to <tempdir>/elex-cache
where <tempdir>
is whatever Python's tempfile.gettempdir()
returns.
Configure full data recording. See recording
.