A fork of pygov focused on USDA nutritional database API
Project description
python-usda
python-usda is a fork of pygov focused on USDA's Food Composition Database API. Browse full documentation on Read the Docs
Installation
pip install python-usda
Usage
from usda.client import UsdaClient
client = UsdaClient("YOUR_API_KEY")
foods = client.list_foods(5)
for food in foods:
print(food.name)
Result:
Abiyuch, raw
Acerola juice, raw
Acerola, (west indian cherry), raw
Acorn stew (Apache)
Agave, cooked (Southwest)
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
python-usda-0.4.2.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for python_usda-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1efd88e48d4597b74e098c1a5f30cb631afad3abe6d2f3d46e8f8083bcf6e10 |
|
MD5 | 72f0fc553265b2c9ec284c7793605fba |
|
BLAKE2b-256 | 595d439e32adb373dd9c29be2125d354382a3cb10bea7092ec08ad8af06bacca |