Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ftf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftf

A thin wrapper for ProPublica's Free The Files API

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#node-ftf

A thin wrapper for ProPublica's Free The Files API

The Free The Files API is subject to ProPublica's Data Terms of Use.

Not affiliated with ProPublica.

Installation

npm install ftf

Getting Started

var ftf = require('ftf');

See the documentation for details on all the API routes.

Get all the markets

ftf.markets(function(resp){
  console.log(resp);
});

Get a single market by slug

ftf.market('boston-manchester', function(resp){
  console.log(resp);
});

Get a station by callsign

ftf.station('WLNY-TV', function(resp){
  console.log(resp);
});

Get all the committees

ftf.committees(function(resp){
  console.log(resp);
});

Get a committee by slug

ftf.committee('priorities-usa-action', function(resp){
  console.log(resp);
});

Get a filing by id

ftf.station('15399', function(resp){
  console.log(resp);
});

Tests

npm test

FAQs

Package last updated on 16 Oct 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc