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.

Source Distribution

ksoftapi-0.4.1.tar.gz (9.7 kB view hashes)

Uploaded source

Built Distributions

ksoftapi-0.4.1-py3.8.egg (27.6 kB view hashes)

Uploaded 3 8

ksoftapi-0.4.1-py3.7.egg (27.5 kB view hashes)

Uploaded 3 7

ksoftapi-0.4.1-py3-none-any.whl (24.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page