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.4.tar.gz
(9.2 kB
view hashes)
Built Distribution
Close
Hashes for python_usda-0.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7cd8de03fc184ae22e8cb8e1589a15f338bcec59e9186dc047a794d9c351e2 |
|
MD5 | 29ad30f1a7ee78c500d4dc95c8900536 |
|
BLAKE2b-256 | 00972aa75a2b4e9135067a6ac5ee299029d775a15f01eefd20209bd8db9a30b4 |