No project description provided
Project description
pygrocy
Installation
pip install pygrocy
Usage
Import the package:
from pygrocy import Grocy
Obtain a grocy instance:
grocy = Grocy("https://example.com/api/", "GROCY_API_KEY")
Get current stock:
for entry in grocy.stock():
print("{} in stock for product id {}".format(entry.product_id, entry.amount))
License
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
pygrocy-0.9.1.tar.gz
(5.8 kB
view hashes)