RapidAPI logo

Food2Fork

FREE
By community
Updated 5 months ago
Data
8.3/10
Popularity Score
5710ms
Latency
-
Success Rate

Food2Fork API Documentation

Food2Fork is a place to find top socially ranked recipes from tons of recipe blogs and websites.

View API Details
GETGet Recipe
GETSearch
GETGet Recipe
Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
keyQUERY
REQUIREDGet your key from http://food2fork.com/F2F/user/api#
Optional Parameters
rIdSTRING
OPTIONALrId: Id of desired recipe as returned by Search Query
Code Snippet
unirest.get("https://community-food2fork.p.rapidapi.com/get?rId=37859")
.header("X-RapidAPI-Host", "community-food2fork.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-food2fork.p.rapidapi.com/get
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-food2fork.p.rapidapi.com/get?rId=37859")
.header("X-RapidAPI-Host", "community-food2fork.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