A skill to monitor state legislative activity using the LegiScan API. It filters for active bills based on custom keywords and state selection.
LEGISCAN_API_KEY in your environment.
requests.
Run the script directly or via a scheduled task (cron).
# Default (TX, cryptocurrency keywords)
python3 search.py
# Custom State and Keywords
python3 search.py --state TX --keywords "crypto, bitcoin, blockchain"
# Include passed/completed bills
python3 search.py --state TX --keywords "crypto, bitcoin, blockchain" --all
--state: Two-letter state abbreviation (Default: TX or LEGISCAN_STATE env var).
--keywords: Comma-separated list of terms to search for.
--all: If flag is present, includes bills that have passed or are completed.
共 1 个版本