Skip to main content

LobbyView Rest API Wrapper

Project description

Functionality

Python wrapper for Lobbyview Rest API; uses same endpoints and parameter names as outlined in the LobbyView Rest API Documentation

Sample Code

import os
from dotenv import load_dotenv

from lobbyview import LobbyView

load_dotenv()
LOBBYVIEW_TOKEN = os.environ.get('LOBBYVIEW_TOKEN')

lobbyview = LobbyView.LobbyView(LOBBYVIEW_TOKEN)
print(lobbyview.legislators(legislator_first_name="John", legislator_last_name="McCain"))
print(lobbyview.legislators(legislator_id="M000303"))

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

lobbyview-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

lobbyview-0.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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