Version 0.2.3
-
Tests are now written with the
pytestframework which means that this is now a dependency. We also now usepytest_covfor coverage reports. This also introduces yet another dependency. -
Fixed an issue in
get_food_detailsdue to a change in column naming in the API interface. This is now automated backend.
Version 0.2.2
-
Tests rewritten to make tests easier to debug.
-
Users can now supply
label_nutrientstotarget_fieldto get label nutrient information. -
Added nutrition information after Nelson-Gon/rfdc#2
-
Fixed a bug that caused wrong output in
get_food_info. -
Now supporting a script mode.
-
Added coverage reports and auto download links.
-
Initial tests.
-
Support for manual api key entry. This is useful for tests only.
-
Users can now view available targets by calling
FoodDataCentral.available_targets -
get_food_detailsnow returns a low level result if nofdc_idis provided. -
Code was refactored to allow assertion statements and provide user warnings.
Release 0.2.1 Major Changes
-
get_nutrientswas dropped. Useget_food_infowithtarget_field"nutrients." -
get_multiple_detailswas dropped. Useget_food_infoinstead. -
Classes FoodSearch and FoodDetails have been dropped. Use
FoodDataCentralinstead. -
api_keywas renamed topyfdc_api_key -
target_fieldinget_food_infonow 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_nutrientsinstead.
Initial stable release on PyPI.
Available features
- FoodSearch class that allows access to the food search end point
- FoodDetails class that allows access to the food details end point
- Fixed issues with PyPI installs