Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 794 Bytes

configuration.rst

File metadata and controls

34 lines (23 loc) · 794 Bytes

Configuration

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_DELEGATE_REPORT_ID_CACHE_FILE='/tmp/elex-cache'
export ELEX_RECORDING='flat'
export ELEX_RECORDING_DIR='/tmp/elex-recording'

API_VERSION

The AP API version. You should never need to change this.

BASE_URL

Use a different base url for API requests. Helpful if running a mirror or archive of raw AP data like Elex Deja Vu.

AP_API_KEY

Your API key. Must be set.

ELEX_RECORDING, ELEX_RECORDING_DIR

Configure full data recording. See recording.