Skip to main content

Kagi API Python Wrapper

Project description

Kagi API Python Wrapper
🚀pip install PyKagi --upgrade

PyPI Latest Release Downloads


PyKagi


Installation

pip install PyKagi --upgrade

Usage

Universal Summarizer API

from PyKagi import UniversalSummarizer

API_KEY = "your api key"
US = UniversalSummarizer(API_KEY)

method = "POST"
url = "https://namu.wiki/w/Midjourney"
engine = "agnes"
target_language = "KO"
cache = True

result = US.summarize(
    method = method,
    url = url,
    engine = engine,
    target_language = target_language,
    cache = cache
)
result

Search API

from PyKagi import Search

API_KEY = "your api key"
S = Search(API_KEY)

query = "Steve Jobs"
limit = 10
result = S.search(
    query=query, 
    limit=limit
)
result

Contributors

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

PyKagi-0.0.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

PyKagi-0.0.1-py3-none-any.whl (7.6 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