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)
Project details
Release history Release notifications | RSS feed
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 details)
Built Distributions
ksoftapi-0.4.1-py3.8.egg
(27.6 kB
view details)
ksoftapi-0.4.1-py3.7.egg
(27.5 kB
view details)
ksoftapi-0.4.1-py3-none-any.whl
(24.0 kB
view details)
File details
Details for the file ksoftapi-0.4.1.tar.gz
.
File metadata
- Download URL: ksoftapi-0.4.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129637eb36c3b9e275b8e95810f69fc52ff1040358c1c80c8867ef7892c76a52 |
|
MD5 | e76642132e1810c8cdf39b8cbbee2fc0 |
|
BLAKE2b-256 | 5378915fb7556ed7307686cf5f540453944978411c4c0af4eb3906fff08cd410 |
File details
Details for the file ksoftapi-0.4.1-py3.8.egg
.
File metadata
- Download URL: ksoftapi-0.4.1-py3.8.egg
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c55dc6a82ca7f3b321082e52071b3b3a4509f77dfd713e27e96c7fd73a2e588 |
|
MD5 | ff273c8ec1bd6ad9d55eac73e7f60583 |
|
BLAKE2b-256 | d899b0fa88ee62007e80a8417fe5c6b492b0ee47b94a4282039c812f14f0510f |
File details
Details for the file ksoftapi-0.4.1-py3.7.egg
.
File metadata
- Download URL: ksoftapi-0.4.1-py3.7.egg
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a86abecc3b8548577587b791b7da53df235d8b3927ac55e4168f97a85f006c |
|
MD5 | 98b121add04a5acbd7ef8c3019c95001 |
|
BLAKE2b-256 | debb70b913b1e44ddfcaf839af46b140332840bfc812b0bdba0358e61074608f |
File details
Details for the file ksoftapi-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: ksoftapi-0.4.1-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c32bd3483ab132cec204022c534033d1036125451b4ce27a1ad1380ac15a0a3 |
|
MD5 | d58959608ba7c5f82f46e71c2755cda7 |
|
BLAKE2b-256 | 87a06b89d1091672df3225bb39c167021bbfc655841bf0a6dccafbf4252148c2 |