Skip to main content

No project description provided

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

pygrocy

Build Status PyPI Coverage Status CodeFactor

Documentation

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

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.3.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pygrocy-0.3.2.tar.gz.

File metadata

  • Download URL: pygrocy-0.3.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for pygrocy-0.3.2.tar.gz
Algorithm Hash digest
SHA256 0634afa0e19453b9adc35c73791533c239a392329a78f62976dbaeae260d0ada
MD5 4cfa66c605fc1984086510398522f17f
BLAKE2b-256 db3042bd182467e272a58fc8d89f678e8efd05aa00175fe8c297f9c1006f4826

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page