RapidAPI logo

新規登録

ログイン

Recipe ingredients tagger

FREE
開発者 rajeshmr
更新日 3ヶ月前
データ
4.2/10
人気度
58702ms
レイテンシ
-
正常稼働率

Recipe ingredients tagger API Documentation

A simple recipe ingredients tagger service. Can tag Comments, Quantity, Units and Name of the ingredients.

全文を表示する
POST/tag
POST/tag
ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
IngredientsJSON_STRING
REQUIREDIngredients list
コードスニペット
unirest.post("https://rit.p.rapidapi.com/tag")
.header("X-RapidAPI-Host", "rit.p.rapidapi.com")
.header("X-RapidAPI-Key", "ログインしてキーを取得")
.header("Content-Type", "application/json")
.send(["Very small nutmeg piece","4 cardamoms","¼ to ½ tsp. Pepper corn","5 cloves","Small cinnamon stick","½ tsp. fennel seeds / saunf","½ tsp. stone flower / kalapasi","12 to 15 mint leaves / pudina","12 to 15 small stems of coriander leaves, leaves plucked","1 ½ inches ginger","3 large pods of garlic or 6 to 8 small","2 to 3 green chilies","1 large onion chopped","1 bay leaf","1 small black cardamom","4 green cardamoms","4 cloves","Cinnamon stick","Star anise","2 strands of mace","¼ to ½ tsp. shahi jeera","½ kg chicken or tender mutton","2 cups of aged basmathi rice","3 ¼ to 3 ½ cups water","3 tbsp. Oil ","Salt as needed","¼ tsp. turmeric","¼ tsp. red chili powder","1 medium tomato","½ cup curd / yogurt","1 tsp. kewra or rose water"])
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
サンプルレスポンス
ログイン新規登録

SDKをインストール(NodeJS)

インストール

Node.jsでUnirestを使用するには、NPMモジュールをインストールしてください。

$ npm install unirest

インストール完了後は、簡単にリクエストを行うことができるようになります。

var unirest = require('unirest');

リクエスト

unirest.post("https://rit.p.rapidapi.com/tag")
.header("X-RapidAPI-Host", "rit.p.rapidapi.com")
.header("X-RapidAPI-Key", "ログインしてキーを取得")
.header("Content-Type", "application/json")
.send(["Very small nutmeg piece","4 cardamoms","¼ to ½ tsp. Pepper corn","5 cloves","Small cinnamon stick","½ tsp. fennel seeds / saunf","½ tsp. stone flower / kalapasi","12 to 15 mint leaves / pudina","12 to 15 small stems of coriander leaves, leaves plucked","1 ½ inches ginger","3 large pods of garlic or 6 to 8 small","2 to 3 green chilies","1 large onion chopped","1 bay leaf","1 small black cardamom","4 green cardamoms","4 cloves","Cinnamon stick","Star anise","2 strands of mace","¼ to ½ tsp. shahi jeera","½ kg chicken or tender mutton","2 cups of aged basmathi rice","3 ¼ to 3 ½ cups water","3 tbsp. Oil ","Salt as needed","¼ tsp. turmeric","¼ tsp. red chili powder","1 medium tomato","½ cup curd / yogurt","1 tsp. kewra or rose water"])
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証