The official Python Wrapper
Installing via pip: pip install ksoftapi
import ksoftapi
kclient = ksoftapi.Client('Your API key here')
async def find_lyrics(query: str):
try:
results = await kclient.music.lyrics(query)
except ksoftapi.NoResults:
print('No lyrics found for ' + query)
else:
first = results[0]
print(first.lyrics)