RapidAPI logo

新規登録

ログイン

CivicFeed - Codify

FREEMIUM
開発者 civicfeed
更新日 3ヶ月前
テキスト解析
-/10
人気度
-
レイテンシ
-
正常稼働率

CivicFeed - Codify API Documentation

Codify automatically identifies entities in your text, including people, organizations and more.

全文を表示する
POSTCodify
POSTCodify

This endpoint allows you to extract bills, legislators and organizations from unstructured text.

ヘッダーパラメータ
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ
BodyJSON_STRING
REQUIRED
コードスニペット
unirest.post("https://civicfeed-civicfeed-codify-v1.p.rapidapi.com/codify")
.header("X-RapidAPI-Host", "civicfeed-civicfeed-codify-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "ログインしてキーを取得")
.header("Content-Type", "application/json")
.send({"text":"HB1 H.R.1 Tax Cuts and Jobs Act - Today, US House Judiciary Committee Member Ted W. Lieu (D Los Angeles County) joined Ranking Member Jerrold Nadler (D NY) in leading more than 190 House Democrats in introducing the Keep Families Together Act, legislation that will end family separation at the U.S. border. In addition to Reps. Lieu and Nadler, original House cosponsors of the legislation include: Subcommittee on Immigration Ranking Member Zoe Lofgren (D CA), Rep. Luis Gutierrez (D IL), Rep. Pramila Jayapal (D WA), Rep. Jimmy Panetta (D CA) and House Democratic leadership. This legislation is the House companion to the legislation introduced by Senate Judiciary Committee Ranking Member Dianne Feinstein (D CA) earlier this month. 5 U.S.C. 552(a)(1)(E)","mode":"1,2,3"})
.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://civicfeed-civicfeed-codify-v1.p.rapidapi.com/codify")
.header("X-RapidAPI-Host", "civicfeed-civicfeed-codify-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "ログインしてキーを取得")
.header("Content-Type", "application/json")
.send({"text":"HB1 H.R.1 Tax Cuts and Jobs Act - Today, US House Judiciary Committee Member Ted W. Lieu (D Los Angeles County) joined Ranking Member Jerrold Nadler (D NY) in leading more than 190 House Democrats in introducing the Keep Families Together Act, legislation that will end family separation at the U.S. border. In addition to Reps. Lieu and Nadler, original House cosponsors of the legislation include: Subcommittee on Immigration Ranking Member Zoe Lofgren (D CA), Rep. Luis Gutierrez (D IL), Rep. Pramila Jayapal (D WA), Rep. Jimmy Panetta (D CA) and House Democratic leadership. This legislation is the House companion to the legislation introduced by Senate Judiciary Committee Ranking Member Dianne Feinstein (D CA) earlier this month. 5 U.S.C. 552(a)(1)(E)","mode":"1,2,3"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証