Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ksoft-si/ksoftapi.py

Official API Wrapper for KSoft.Si API
https://github.com/ksoft-si/ksoftapi.py

api-client api-wrapper discord-bot discord-py images ksoft python3

Last synced: about 2 months ago
JSON representation

Official API Wrapper for KSoft.Si API

Awesome Lists containing this project

README

        

[](https://ksoft.si/)

# KSoftAPI.py
*The official Python Wrapper for KSoft API*

## Install
Installing via pip:
```
pip install ksoftapi
```

## Example Usage:
```python
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 (Unavailable)](https://api.ksoft.si/) | [Documentation](https://py.docs.ksoft.si/) | [Join our Discord server](https://discord.gg/7bqdQd4)