rdio api added to config.
This commit is contained in:
parent
b6e9b175db
commit
f12066df0a
|
@ -30,7 +30,9 @@
|
|||
"twitter_access_token": "",
|
||||
"twitter_access_secret": "",
|
||||
"wunderground": "",
|
||||
"googletranslate": ""
|
||||
"googletranslate": "",
|
||||
"rdio_key": "",
|
||||
"rdio_secret": ""
|
||||
},
|
||||
"permissions": {
|
||||
"admins": {
|
||||
|
|
|
@ -4,9 +4,9 @@ import re
|
|||
from util import hook
|
||||
import oauth2 as oauth
|
||||
|
||||
|
||||
CONSUMER_KEY = "KEY"
|
||||
CONSUMER_SECRET = "SECRET"
|
||||
bot.config.get("api_keys")
|
||||
CONSUMER_KEY = conn.conf['api_keys'].get("rdio_key", "KEY")
|
||||
CONSUMER_SECRET = conn.conf['api_keys'].get("rdio_secret", "SECRET")
|
||||
|
||||
|
||||
def getdata(inp, types):
|
||||
|
|
Reference in New Issue