Skip to main content

Our Groceries Unofficial Python Package

Project description

Unofficial asyncio python wrapper for the Our Groceries API. This library requires Python >=3.5.

Installation

pip install ourgroceries

Usage

import asyncio
from ourgroceries import OurGroceries

username = ''
password = ''

og = OurGroceries(username, password)
asyncio.run(og.login())

my_lists = asyncio.run(og.get_my_lists())
print(my_lists)

my_todo_list = asyncio.run(og.get_list_items(list_id=''))
print(my_todo_list)

Development

prerequisites

pip install --upgrade pip setuptools wheel
pip install tqdm
pip install -upgrade twine

build

python setup.py sdist

install

python setup.py install

upload

twine upload dist/*

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

ourgroceries-1.1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

ourgroceries-1.1.0-py3.7.egg (5.0 kB view hashes)

Uploaded Source

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