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.3.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for python_usda-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab5cfad44b81316e39047aa36ef1cd61ae0430270d8d0abad92035351dacf07 |
|
MD5 | ef734adf6d2c2e98937bde1ba3f00a2f |
|
BLAKE2b-256 | a622958a87388add73175d6908ae04395629f6b78e172c91b00a32d34d96feb1 |