Detected 7 occurrence(s) of ‘(api|private)[-_]key[ “‘]*=[ =”‘]*\w+': :nick)", {'nick': nick}).fetchone() username = username[0] if not username: return("No last.fm username specified and no last.fm username is set in the database.") response = http.get_json(api_url, api_key=api_key, method="user.gettopartists", user=username, limit=5 ) out = "{}'s favorite artists: ".format(username) for r in range(5): out = out + "{} listened to {} […]
↧