USDA / USDA-APIs

Do you have feedback, ideas, or questions for USDA APIs? Use this repository's Issue Tracker to join the discussion.
www.usda.gov/developer
107 stars 16 forks source link

`unitName` is suddenly missing for most nutrients sometimes #119

Open buschco opened 2 years ago

buschco commented 2 years ago

executing the request multiple times, unitName is only sometimes included in the nutrient items.

curl -X 'GET' \
  'https://api.nal.usda.gov/fdc/v1/food/1102644?api_key=<apikey>' \
  -H 'accept: application/json'