README
This commit is contained in:
parent
bf83b4e235
commit
dd3d002cc8
27
README.rst
Normal file
27
README.rst
Normal file
@ -0,0 +1,27 @@
|
||||
INSTALLATION
|
||||
============
|
||||
|
||||
You need Python.
|
||||
You need to run
|
||||
``pip install -r requirements.txt``
|
||||
|
||||
You either need to install an app that has the following permissions on slack:
|
||||
|
||||
``users.profile:read``
|
||||
``users.profile.write``
|
||||
|
||||
Then get the OAuth token (form ``xoxp-xxxx``) and put it in the proper environment variable in ``run.sh``
|
||||
|
||||
|
||||
Or find the already existing app, visit ``https://api.slack.com/apps/<appid>/oauth``
|
||||
and get the oauth token there.
|
||||
|
||||
|
||||
Running
|
||||
-------
|
||||
|
||||
If you run the script once, it will try to authenticate your lastfm account with a web browser.
|
||||
Then fill in the proper Env keys in run.sh
|
||||
|
||||
after that with the lastfm key, secret, username, and at least one (space separated) slack oauth token, you can run
|
||||
./run.sh and it will update your status with the currently playing song if one is being scrobbled.
|
Loading…
Reference in New Issue
Block a user