Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 712 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 712 Bytes

KSoftAPI.py

The official Python Wrapper for KSoft API

Install

Installing via pip:

pip install ksoftapi

Example Usage:

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)

Obtain an API key (Unavailable) | Documentation | Join our Discord server