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.2.2a0.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distributions

ksoftapi-0.2.2a0-py3.8.egg (25.3 kB view hashes)

Uploaded Source

ksoftapi-0.2.2a0-py3-none-any.whl (23.3 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