Skip to main content

The official KSoft.SI API Wrapper.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ksoftapi, version 0.2.4a0
Filename, size File type Python version Upload date Hashes
Filename, size ksoftapi-0.2.4a0-py3.8.egg (25.3 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size ksoftapi-0.2.4a0-py3-none-any.whl (23.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ksoftapi-0.2.4a0.tar.gz (8.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page