Giter VIP home page Giter VIP logo

marketplace-opensecrets-package's Introduction

OpenSecrets Package

OpenSecrets

How to get credentials:

  1. Go to Opensecrets
  2. Register or log in
  3. Go to Profile & key page

Custom datatypes:

Datatype Description Example
Datepicker String which includes date and time 2016-05-28 00:00:00
Map String which includes latitude and longitude coma separated 50.37, 26.56
List Simple array ["123", "sample"]
Select String with predefined values sample
Array Array of objects [{"Second name":"123","Age":"12","Photo":"sdf","Draft":"sdfsdf"},{"name":"adi","Second name":"bla","Age":"4","Photo":"asfserwe","Draft":"sdfsdf"}]

OpenSecrets.getLegislators

provides a list of 114th Congressional legislators and associated attributes for specified subset (state, district or specific CID).

Field Type Description
apiKey credentials Api key obtained from Opensecrets
id String two character state code, or 4 character district or specific CID

OpenSecrets.getMemberPFDprofile

Summary profile from a members personal financial disclosure statement.

Field Type Description
apiKey credentials Api key obtained from Opensecrets
cid String CRP CandidateID
year String 2013 & 2014 data provided

OpenSecrets.getCandidateSummary

Provides summary fundraising information for specified politician

Field Type Description
apiKey credentials Api key obtained from Opensecrets
cid String CRP CandidateID
cycle String 2012, 2014, 2016; leave blank for latest cycle

OpenSecrets.getCandidateContributors

Provides the top organizations contributing to specified politician

Field Type Description
apiKey credentials Api key obtained from Opensecrets
cid String CRP CandidateID
cycle String 2012, 2014, 2016; leave blank for latest cycle

OpenSecrets.getCandidateIndustries

Provides the top industries contributing to a specified politician

Field Type Description
apiKey credentials Api key obtained from Opensecrets
cid String CRP CandidateID
cycle String 2012, 2014, 2016; leave blank for latest cycle

OpenSecrets.getSingleIndustryCandidateData

Provides the top industries contributing to a specified politician

Field Type Description
apiKey credentials Api key obtained from Opensecrets
cid String CRP CandidateID
industry String a 3-character industry code
cycle String 2012, 2014, 2016; leave blank for latest cycle

OpenSecrets.getCandidateSector

Provides sector total of specified politician's receipts

Field Type Description
apiKey credentials Api key obtained from Opensecrets
cid String CRP CandidateID
cycle String 2012, 2014, 2016; leave blank for latest cycle

OpenSecrets.getIndustryRaisedByMember

Provides summary fundraising information for a specific committee, industry and congress number

Field Type Description
apiKey credentials Api key obtained from Opensecrets
committeeId String Committee ID in CQ format
industry String a 3-character industry code
congno String 112 (uses 2012 data), 113 (uses 2014 data) or 114 (uses 2016 data); leave blank for latest congress

OpenSecrets.getOrganization

Look up an organization by name.

Field Type Description
apiKey credentials Api key obtained from Opensecrets
organizationName String name or partial name of organization requested

OpenSecrets.getOrganizationSummary

Provides summary fundraising information for the specified organization id.

Field Type Description
apiKey credentials Api key obtained from Opensecrets
organizationId String CRP orgid

marketplace-opensecrets-package's People

Watchers

James Cloos avatar Miki Lior avatar Stefan Skliarov avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.