Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

foods.search returns trimmed results #6

Open
mangesh655 opened this issue Aug 14, 2020 · 0 comments
Open

foods.search returns trimmed results #6

mangesh655 opened this issue Aug 14, 2020 · 0 comments

Comments

@mangesh655
Copy link

Hello
I am facing problem while fetching all the results(without specifying max_results and page_number) for the method "foods.search".

{ "foods": { "food": [ {"food_description": "Per 160g - Calories: 206kcal | Fat: 0.45g | Carbs: 44.50g | Protein: 4.24g", "food_id": "4501", "food_name": "White Rice", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/rice-white-cooked-regular" }, {"food_description": "Per 197g - Calories: 216kcal | Fat: 1.75g | Carbs: 44.76g | Protein: 5.03g", "food_id": "4513", "food_name": "Brown Rice", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/rice-brown-cooked-regular" }, {"brand_name": "Dream Dinners", "food_description": "Per 1/2 cup - Calories: 107kcal | Fat: 0.00g | Carbs: 23.00g | Protein: 3.00g", "food_id": "83389", "food_name": "Jasmine Rice", "food_type": "Brand", "food_url": "https://www.fatsecret.com/calories-nutrition/dream-dinners/jasmine-rice" }, {"food_description": "Per 883g - Calories: 768kcal | Fat: 13.24g | Carbs: 147.80g | Protein: 16.95g", "food_id": "5157", "food_name": "Spanish Rice", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/spanish-rice" }, {"food_description": "Per 100g - Calories: 135kcal | Fat: 1.07g | Carbs: 27.64g | Protein: 2.64g", "food_id": "4502", "food_name": "Cooked Rice", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/rice-cooked" }, {"brand_name": "Mahatma", "food_description": "Per 3/4 cup prepared - Calories: 160kcal | Fat: 0.00g | Carbs: 35.00g | Protein: 4.00g", "food_id": "59015", "food_name": "Basmati Rice", "food_type": "Brand", "food_url": "https://www.fatsecret.com/calories-nutrition/mahatma/basmati-rice" }, {"food_description": "Per 162g - Calories: 161kcal | Fat: 2.22g | Carbs: 31.06g | Protein: 4.12g", "food_id": "5134", "food_name": "Rice with Vegetables", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/rice-with-vegetables-no-sauce" }, {"food_description": "Per 630g - Calories: 598kcal | Fat: 1.07g | Carbs: 131.37g | Protein: 11.90g", "food_id": "4514", "food_name": "Yellow Rice", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/yellow-rice-cooked-regular" }, {"food_description": "Per 100g - Calories: 130kcal | Fat: 0.28g | Carbs: 28.17g | Protein: 2.69g", "food_id": "39719", "food_name": "White Rice (Long-Grain, Cooked)", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/usda/white-rice-(long-grain-cooked)" }, {"brand_name": "La Preferida", "food_description": "Per 1/2 cup - Calories: 90kcal | Fat: 2.00g | Carbs: 17.00g | Protein: 2.00g", "food_id": "101948", "food_name": "Spanish Rice", "food_type": "Brand", "food_url": "https://www.fatsecret.com/calories-nutrition/161DA8CF-1207-45BC-9271-1215704BA6B7" }, {"food_description": "Per 918g - Calories: 753kcal | Fat: 31.64g | Carbs: 107.93g | Protein: 12.64g", "food_id": "308754", "food_name": "Mexican Rice", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/mexican-rice" }, {"brand_name": "Mahatma", "food_description": "Per 3/4 cup prepared - Calories: 160kcal | Fat: 0.00g | Carbs: 36.00g | Protein: 3.00g", "food_id": "47574", "food_name": "Jasmine Long Grain Rice", "food_type": "Brand", "food_url": "https://www.fatsecret.com/calories-nutrition/mahatma/jasmine-long-grain-rice" }, {"food_description": "Per 907g - Calories: 1152kcal | Fat: 36.54g | Carbs: 183.80g | Protein: 17.59g", "food_id": "5152", "food_name": "Flavored Rice Mixture", "food_type": "Generic", "food_url": "https://www.fatsecret.com/calories-nutrition/generic/flavored-rice-mixture" }, {"brand_name": "Riceland", "food_description": "Per 1/4 cup - Calories: 150kcal | Fat: 1.00g | Carbs: 32.00g | Protein: 3.00g", "food_id": "61800", "food_name": "Whole Grain Long Rice", "food_type": "Brand", "food_url": "https://www.fatsecret.com/calories-nutrition/riceland/whole-grain-long-rice" }, {"food_description": "Per 1023g - C

Getting above trimmed response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant