-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.ini.example
20 lines (17 loc) · 934 Bytes
/
config.ini.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[lastfm]
# You will need a Last.FM Developer API account for this script to work.
# There is no way around it, since the request requires an API key and I will not share my own.
# Fortunately, this is easy to get! Simply head over to http://www.last.fm/api/account/create
# Once your account is created, the site will display your API Key and API Secret.
# WRITE THESE DOWN! Last.FM apparently has no way to look them up later, so don't lose them.
# This script only requires the api key.
api_key = yourApiKey
# Next, you'll also need to provide your Last.FM username for the script to query.
username = yourName
# Finally, provide an interval (in seconds). This tells the script how often it should
# check what you're listening to.
interval = 1
[discord]
# Unlike Last.FM, you don't need an API account for the Discord connection.
# All you need is your User Token from the Discord Desktop (or web) Application.
token = yourToken