kartikye / opensecrets_api

A python interface for the opensecrets.org api

Home Page:http://kartikye.com/workbench/projects/opensecrets_api.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opensecrets_api

A python library to interact with the opensecrets.org api.

installation

This package can be installed using pip pip install opensecrets_api

usage

Create an account with opensecrets.org and obtain an api_key

from opensecrets_api import OpenSecrets
o = OpenSecrets('api_key')
o.get_legislators('CA')

Documentation for the methods can be found in opensecrets_api/__init__.py

license

opensecrets_api is distributed under the MIT license

About

A python interface for the opensecrets.org api

http://kartikye.com/workbench/projects/opensecrets_api.html

License:MIT License


Languages

Language:Python 100.0%