Blacken docs

This commit is contained in:
Hugo van Kemenade 2020-12-30 13:09:06 +02:00
parent 6c66279957
commit 3fcf45062d
3 changed files with 12 additions and 5 deletions

View file

@ -79,8 +79,12 @@ API_SECRET = "425b55975eed76058ac220b7b4e8a054"
username = "your_user_name"
password_hash = pylast.md5("your_password")
network = pylast.LastFMNetwork(api_key=API_KEY, api_secret=API_SECRET,
username=username, password_hash=password_hash)
network = pylast.LastFMNetwork(
api_key=API_KEY,
api_secret=API_SECRET,
username=username,
password_hash=password_hash,
)
# Now you can use that object everywhere
artist = network.get_artist("System of a Down")