*Unofficial* client for the Kagi API
Project description
Kaginawa
An unofficial client to Kagi APIs
Installation
pip install kaginawa
Usage
from kaginawa.client import Kaginawa
client = Kaginawa(token="YOUR_API_TOKEN")
response: KaginawaResponse = client.generate(
"Write a logstash pipeline file to send a heartbeat to a server "
"https://example.com/heartbeat every 30 seconds"
)
print(response.output)
for reference in response.references:
print(reference.title)
print(reference.snippet)
print(reference.url)
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
kaginawa-0.0.1.tar.gz
(536.8 kB
view hashes)