Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 719 Bytes

File metadata and controls

39 lines (26 loc) · 719 Bytes

kitchenowl-python

A simple wrapper around the KitchenOwl API.

This is a small python package to be used as a wrapper for the KitchenOwl API in python.

Currently, there is only support for managing shopping list items.

Installation

python -m venv .venv
source .venv/bin/activate
pip install -e .

Installs all required dependencies.

Usage

from aiohttp import ClientSession
from kitchenowl_python.kitchenowl import KitchenOwl

async with ClientSession() as session:
    kitchenowl = KitchenOwl(session=session, url=url, token=token)
    await kitchenowl.test_connection()

Development

Run tests

source .venv/bin/activate
pip install -e .\[test\]
pytest .