Skip to content

pyfdc 0.2.1

Compare
Choose a tag to compare
@Nelson-Gon Nelson-Gon released this 29 Jan 09:49
· 58 commits to master since this release

Major Changes

  • get_nutrients was dropped. Use get_food_info with target_field "nutrients."

  • get_multiple_details was dropped. Use get_food_info instead.

  • Classes FoodSearch and FoodDetails have been dropped. Use FoodDataCentral instead.

  • api_key was renamed to pyfdc_api_key

  • target_field in get_food_info now uses snake_case instead of CamelCase.

Major additions

  • Added an option to signup for an api key

Major deletions

  • merge_nutrient_results was removed. Use get_nutrients
    instead.