geniuses 0.0.1
Genius Lyrics API Python Client
A Lightweight client for typed interaction with Genius API.
Examples
from geniuses import GeniusClient
client = GeniusClient("<your_token>")
songs = client.search("Cariñito los hijos")
print(songs[0].primary_artist.name) # Los hijos del sol
print(songs[0].lyrics) # Lloro por quererte ...
songs_from_artist = list(songs[0].primary_artist.get_songs())
print(songs_from_artist) # [<Song(title=Cariñito, id=1949442)>, <Song(title=Si Me Quieres, id=2078361)>]
CLI
WIP
Development
This project uses tox for running tests and
other things (style check, coverage reports).
It is recommended to install conda
along with tox-conda for using tox.
Afterwards, tox command will run all the steps for you.
This project strictly uses black as an opinionated code style.
Any written line should comply with that (don’t forget to run black . for PRs).
License
Released under the Apache License.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.