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)
Built Distribution
Close
Hashes for lobbyview-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef93fec5f4548ea07007a7789f192c0c4cfee1c145cdbb51a350d10bf48b5f9a |
|
MD5 | d804e846647e42978a348957c67651cf |
|
BLAKE2b-256 | 4fa331ba06d0a30dfccc7d6ed6078dbd6838f963a4142aff63f5d95b57a14277 |