Genius REST API Client
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geniuses-0.0.1.tar.gz.
File metadata
- Download URL: geniuses-0.0.1.tar.gz
- Upload date:
- Size: 95.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92dbcba68fe881fc4801402ed8fac54e873dcbcee741ff4998d3ac41df656022
|
|
| MD5 |
f5e7ac192351a2be219db7db18e0c652
|
|
| BLAKE2b-256 |
5fd7bdd3a9f946e6b46a72d1e270828accef2a15ebb80dd2f4faf34568406230
|
File details
Details for the file geniuses-0.0.1-py3-none-any.whl.
File metadata
- Download URL: geniuses-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4473570a7c990ae4aad85ba828b78e6a39c9226a3ec79dc1afbbe97582e17efd
|
|
| MD5 |
91e3da6f4d5e83ad13d484d4401d0c8e
|
|
| BLAKE2b-256 |
b193a78b108aac97ef246ff9bb67f38a9676f1cfedffd9f98e01d705a1133c5e
|