RapidAPI logo

CivicFeed - Codify

FREEMIUM
By civicfeed
Updated 4 months ago
Text Analysis
1.2/10
Popularity Score
5754ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Log inSign up

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.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", "SIGN-UP-FOR-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 Authentication
Client ID
Client Secret
OAuth2 Authentication