Skip to main content

Python package using the OpenSecrets and ProPublica APIs to allow users to view information about their senators and the industries that fund them

Project description

OpenSecrets_Senators_Industries

Python package that allows users to view information about their senators and the industries that fund them.

Installation

$ pip install OpenSecrets_Senators_Industries

Usage

To use this package, users are required to obtain two API Keys:

from OpenSecrets_Senators_Industries import OpenSecrets_Senators_Industries

ProPublica = ProPublicaAPIKey('insert ProPublica API Key here')
OpenSecrets = OpenSecretsAPIKey('insert OpenSecrets API Key here')

top_20_industries_ids(year)
ProPublica.senate_members(congress_sitting)
OpenSecrets.top_senators_each_industry(propublica_api_key, industry_id, congress_sitting)

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

OpenSecrets_Senators_Industries was created by Jade Qiu. It is licensed under the terms of the MIT license.

Credits

OpenSecrets_Senators_Industries was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

OpenSecrets_Senators_Industries-0.1.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page