Skip to content

eghosa-eke/python-usda-fdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

USDA FDC API interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages