algorithmiaio/algorithmia-python

Inconsistency: Python client uses env var ALGORITHMIA_API_KEY not ALGORITHMIA_API

Closed this issue · 2 comments

The Python client looks for an environment variable ALGORITHMIA_API_KEY to override the default API address: https://github.com/algorithmiaio/algorithmia-python/blob/master/Algorithmia/client.py#L19

All other client implementations which check env look for ALGORITHMIA_API

Suggest adding ALGORITHMIA_API but retaining ALGORITHMIA_API_KEY as well for backward-compatibility

pmcq commented

ALGORITHMIA_API is for the api endpoint, and ALGORITHMIA_API_KEY is for the client key

Y Kant Johnny Read

Yeah, nevermind...