BigW Consortium Gitlab

Commit ae7170fb by Dan McKinley

clarification in the readme re: configuration

parent 3ca4e347
......@@ -61,9 +61,10 @@ on Code as Craft.
## Configuration
For convenience, the package supports local configuration. You can manage your
API keys in a file called $HOME/etsy/keys (or the equivalent on Windows) with
the following format:
For convenience (and to avoid storing API keys in revision control
systems), the package supports local configuration. You can manage
your API keys in a file called $HOME/etsy/keys (or the equivalent on
Windows) with the following format:
<pre>
v1 = 'Etsy API version 1 key goes here'
......@@ -72,6 +73,9 @@ v2 = 'Etsy API version 2 key goes here'
Alternatively, you can specify a different key file when creating an API object.
(Implementation note: the keys file can be any valid python script that defines
a module-level variable for the API version you are trying to use.)
<pre>
from etsy import Etsy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment