API wrapper functions

Wrapper functions for various LegiScan API operations

get_bill()

Get bill details information

get_bill_masterlist()

Get master list of bills in a session

get_bill_text()

Get bill full text

get_dataset()

Get dataset archive

get_dataset_list()

Get list of available datasets

Data processing functions

Functions to parse the JSON files or objects returned from API functions

parse_bill()

Parse bill meta-data

parse_bill_progress()

Parse bill progress events

parse_bill_sponsor()

Parse bill sponsor information

parse_people()

Parse legislator information

parse_person_vote()

Parse individual legislator voting record

parse_rollcall_vote()

Parse roll call votes

Helper functions

decode_bill_text()

Decode based64 encoded bill text

find_json_path()

Find local JSON files

legiscan_api_key()

Get or set LEGISCAN_API_KEY value

Data

lookup_table

Lookup table