The official KSoft.SI API Wrapper.


Keywords
ksoftapi, images, discord-bot, api-client, python3, api-wrapper, discord-py, ksoft
License
GPL-3.0
Install
pip install ksoftapi==0.4.2a0

Documentation

KSoftAPI.py

The official Python Wrapper

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 | Join the Discord server