Bit of straightening out about the environment variables. #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trying to make this a bit more clear for someone first using it.
It would also be easier if there was a way to set the ivar values via the command line or in a resource file. As it is now, I get:
$ python ./trello/util.py
Traceback (most recent call last):
File "./trello/util.py", line 91, in
create_oauth_token()
File "./trello/util.py", line 24, in create_oauth_token
trello_key = key or os.environ['TRELLO_API_KEY']
File "/usr/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'TRELLO_API_KEY'
$
$ echo $TRELLO_API_KEY
2b6790f8042489d77227f3a632ae0add
$
So, the environment variable is set, but not in the right way?
FYI, I am on an Ubuntu 14.04 system.
Also, your TrelloClient requires a:
I can see what the first three are. What is a token_secret? I get the OAuth token and ... that is it.