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 Source

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

Uploaded Source

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page