Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTM key configuration loading from external file #1

Open
takeshitakenji opened this issue Jan 30, 2012 · 3 comments
Open

RTM key configuration loading from external file #1

takeshitakenji opened this issue Jan 30, 2012 · 3 comments

Comments

@takeshitakenji
Copy link

The included configuration.py just sets the rtm_api_key, rtm_shared_secret, and rtm_token to empty strings. While this is fine for testing since an individual can just paste them in from the RTM site, it'd be nice to have them loaded from an external file.

Perhaps a file under $HOME would be useful.

@takeshitakenji
Copy link
Author

I'm working on it.

@mvonthron
Copy link
Owner

Sure. Actually I intended to use the $HOME/.config/<appname>.conf scheme.
However, I believe a configuration file in $HOME should not be language specific, but rather in the INI format.

As you can see, RTM support is only beginning so I am definitely in the testing stage.

@takeshitakenji
Copy link
Author

Oh, that's a great idea. I'll change what I have to read that file and use ConfigParser from the standard library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants