Campbells Kitchen

FREE
By campbellkitchen
Updated 5 months ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate

Campbells Kitchen API Documentation

Campbell’s Kitchen is all about sharing information. In our case, that information includes thousands of recipes using brands like Campbell’s, Swanson®, Pace®, Prego® & Pepperidge Farm® – brands people love and trust, and use every day. GET ACCESS T

View API Details
GETSearch Recipes
Get Recipes
GETGet All Recipe Nutrition
GETGet All Recipe Reviews
GETGet Recipe
GETGet Recipe Full Details
GETSearch Recipes
Authorization:
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
app_keyQUERY
REQUIREDYour access application key
app_idQUERY
REQUIREDYour access application id
Optional Parameters
formatSTRING
OPTIONALxml or json (default xml)
startSTRING
OPTIONALstart at record number (default 1)
preptimeSTRING
OPTIONALThe prep time in minutes
categorySTRING
OPTIONALthe ID of the category to return
productSTRING
OPTIONALThe name of a Campbell product
totalSTRING
OPTIONALthe total number of results to return (defaults 10)
keywordSTRING
OPTIONALThe search term
ingredientSTRING
OPTIONALsearch single or multiple ingredients (multiple ingredients separated by pipe '|')
Code Snippet
unirest.get("https://community-campbell.p.rapidapi.com/brandservice.svc/api/search?format=json&category=1&keyword=garlic&ingredient=beef")
.header("X-RapidAPI-Host", "community-campbell.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://community-campbell.p.rapidapi.com/brandservice.svc/api/search
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://community-campbell.p.rapidapi.com/brandservice.svc/api/search?format=json&category=1&keyword=garlic&ingredient=beef")
.header("X-RapidAPI-Host", "community-campbell.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication