A program to post Last.fm statistics to Twitter and/or Mastodon
Project description
Last-Shout
Quick Description
A command line tool to tweet a user's top artist statistics from Last.fm to Twitter.
Installation
- Coming as soon as the first release is made.
Getting started
In order to use Last-Shout, you need at a minimum to get authentication keys for Twitter and Last.fm.
-
To get the necessary authenticaton keys for Twitter, refer to the documentation here.
-
To get the necessary authentication keys for Last.fm, refer to their documentation here.
Help
usage: main.py [-h] [-u USER] [--last-access-key LAST_ACCESS_KEY]
[--set-lastfm] [-n NUMBER] [-p PERIOD]
[--consumer-key CONSUMER_KEY]
[--consumer-secret CONSUMER_SECRET] [--access-key ACCESS_KEY]
[--access-secret ACCESS_SECRET] [--set-twitter] [--version]
A program to post last.fm statistics to Twitter and/or Mastodon.
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER Last.fm username (default: None)
--last-access-key LAST_ACCESS_KEY
Last.fm access key (default: None)
--set-lastfm Set Last.fm credentials (default: False)
-n NUMBER, --number NUMBER
Number of last.fm top artists (default is 10)
(default: 10)
-p PERIOD, --period PERIOD
The time period over which to retrieve top artists.
Options are: overall | 7day | 1month | 3month | 6month
| 12month (default is 7day) (default: 7day)
--consumer-key CONSUMER_KEY
Twitter consumer key (default: None)
--consumer-secret CONSUMER_SECRET
Twitter consumer secret (default: None)
--access-key ACCESS_KEY
Twitter access token key (default: None)
--access-secret ACCESS_SECRET
Twitter access secret (default: None)
--set-twitter Set Twitter credentials (default: False)
--version Show the version number and exit
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
last-shout-0.1.0.tar.gz
(5.9 kB
view hashes)
Built Distribution
last_shout-0.1.0-py3-none-any.whl
(19.3 kB
view hashes)
Close
Hashes for last_shout-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd509e6bda6123ad3b0e3d85ffdc2d232d05ba786e5c5d57c5d3e1436b9b1290 |
|
MD5 | b6c2010f2bb5ea52edaa5c9236a8daa3 |
|
BLAKE2b-256 | 8ab0ef6d024b7cc8125e5c685b13d197f48478250a1681de45352f6c2e1471b1 |