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.
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.1.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for python_usda-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ab6f0d9455c947a25880352e40c642877090885da53b4aee45de73290c8243 |
|
MD5 | 33fd92fb032185f8a43ce2908c25ca8d |
|
BLAKE2b-256 | f162a5538421c57c412aa10b81d5a44071df2a437f0a615ee97e6cf6abf5f0a7 |