Last updated:
0 purchases
pyUsda 1.0.3
pyUsda
pyUsda provides an interface for interacting with USDA's Food Data Central API .
Installation
pip install pyUsda
Usage
from pyUsda.client import UsdaClient
client = UsdaClient("YOUR_API_KEY")
foods = client.list_foods(page_size=5)
for food in foods:
print(food)
Result:
Abiyuch, raw
Acerola juice, raw
Acerola, (west indian cherry), raw
Acorn stew (Apache)
Agave, cooked (Southwest)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.