How evamaxfield/pywslegislature works
pywslegislature wraps the Washington State Legislative Web Services API: callers define a service/function request, receive an HTTP response, and can expose it as XML or JSON. Its documented higher-level workflow maps biennium-specific Legislature and Committee objects to committee, member, and meeting details. The service modules also advertise legislative, amendment, sponsor, document, and session-law queries. Source excerpts show request processing and committee detail loading; connections for other advertised service capabilities are therefore shown only at the service boundary.
Main entry points: apifunction.py API function specs · committee.py Committee · query.py WSLRequest · legislature.py Legislature
Components 19
Request client
- WSLRequest
pywslegislature/query.py - WSLResults
pywslegislature/query.py - API function specs
pywslegislature/services/apifunction.py
Legislative services
- Committee queries
pywslegislature/services/committeeService.py - Meeting queries
pywslegislature/services/committeeMeetingsService.py - Committee actions
pywslegislature/services/committeeActionService.py - Legislation queries
pywslegislature/services/legislationService.py - Amendment queries
pywslegislature/services/amendmentService.py - Legislative documents
pywslegislature/services/legislativeDocumentService.py - Sponsor queries
pywslegislature/services/sponsorService.py - Session laws
pywslegislature/services/sessionLawService.py - RCW citations
pywslegislature/services/rcwSiteAffectedService.py
Legislature model
- Biennium
pywslegislature/biennium.py - Legislature
pywslegislature/legislature.py - Committee
pywslegislature/committee.py - Meeting
pywslegislature/meeting.py - Member
pywslegislature/member.py
Other components
- Python caller
- WSL Web Services
Connections 23
- Python caller → WSLRequest: constructs
- WSLRequest → API function specs: validates parameters
- WSLRequest → WSL Web Services: sends HTTP request
- WSL Web Services → WSLResults: returns response
- WSLRequest → WSLResults: wraps response
- Python caller → WSLResults: reads XML or JSON
- Python caller → Legislature: creates model
- Legislature → Biennium: uses period
- Legislature → Committee: exposes committees
- Committee → Meeting queries: requests meetings
- Committee → WSLRequest: processes query
- Committee → Committee queries: requests members
- Committee → Meeting: builds meeting objects
- Committee → Member: builds member objects
- Committee queries → API function specs: defines calls
- Meeting queries → API function specs: defines calls
- Committee actions → API function specs: defines calls
- Legislation queries → API function specs: defines calls
- Amendment queries → API function specs: defines calls
- Legislative documents → API function specs: defines calls
- Sponsor queries → API function specs: defines calls
- Session laws → API function specs: defines calls
- RCW citations → API function specs: defines calls