searchForFood

URL

http://www.nutritter.com/api/searchForFood

Description

Search for food

Authentication

Optional

Parameters

searchString(required)
Description
The string to search for
Type
string
Example Value
Cheeseburger
brands(optional)
Description
Comma-delimited list of brand names
Type
comma-seperated list of strings
Example Value
McDonald's
count(optional)
Description
Number of results per page
Type
int
Default Value
10
Example Value
2
page(optional)
Description
The current page of results
Type
int
Default Value
1
Example Value
1

Example

An easy way to try the Nutritter API is to use cURL. Here is an example of a curl command for searchForFood:

Command
Output
1