This series introduces a change to reduce duplication of configuration file derivation as well as tucking config files into a default standard path.
Building on top of the standard path, introduce apikey autoload. When imported, attempt to find the apikey in our standard path: if a file exists try to read it. Adds convenience to avoid unnecessary boilerpate; help prevent people from committing their api key.
A future topic will allow API key to be defined via environment variables.
This series introduces a change to reduce duplication of configuration file derivation as well as tucking config files into a default standard path.
Building on top of the standard path, introduce apikey autoload. When imported, attempt to find the apikey in our standard path: if a file exists try to read it. Adds convenience to avoid unnecessary boilerpate; help prevent people from committing their api key.
A future topic will allow API key to be defined via environment variables.