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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lobbyview-0.0.1.tar.gz.
File metadata
- Download URL: lobbyview-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
325b1042f11f5c1221eb877f7f7c4eebeb123721f0eed54dbd2f03a69994cbe0
|
|
| MD5 |
5667c9874fd58199bed26587379ad41a
|
|
| BLAKE2b-256 |
7e3fdd1b4cc779f915e4521349a6ee0aed2ce474376f6f3f1030038e9d6dae99
|
File details
Details for the file lobbyview-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lobbyview-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef93fec5f4548ea07007a7789f192c0c4cfee1c145cdbb51a350d10bf48b5f9a
|
|
| MD5 |
d804e846647e42978a348957c67651cf
|
|
| BLAKE2b-256 |
4fa331ba06d0a30dfccc7d6ed6078dbd6838f963a4142aff63f5d95b57a14277
|