Skip to main content

No project description provided

Project description

pygrocy

Build Status Coverage Status PyPI

Example

from pygrocy import Grocy

# get 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))

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

pygrocy-0.2.0.tar.gz (3.2 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