Optionalshared: EPSharedResourcesProtected ReadonlybaseEuropean Parliament API base URL.
Protected ReadonlycacheLRU cache for API responses.
Protected ReadonlyenableEnable automatic retry on transient failures.
Protected ReadonlymaxMaximum allowed response body size in bytes.
Protected ReadonlymaxMaximum number of retry attempts.
Protected ReadonlyrateToken bucket rate limiter.
Protected ReadonlytimeoutRequest timeout in milliseconds.
PrivatebuildPrivateMaps internal params to EP API query parameters for meetings.
Clears all entries from the LRU cache.
ProtectedgetProtectedExecutes a cached, rate-limited GET request to the EP API.
Expected response type (extends Record<string, unknown>)
API endpoint path (relative to baseURL)
Optionalparams: Record<string, unknown>Optional query parameters
Promise resolving to the typed API response
Returns cache statistics for monitoring and debugging.
{ size, maxSize, hitRate, hits, misses }
Returns EP events (hearings, conferences, etc.).
EP API Endpoint: GET /events
Returns activities linked to a specific meeting (plenary sitting).
EP API Endpoint: GET /meetings/{sitting-id}/activities
Returns a single EP meeting by ID.
EP API Endpoint: GET /meetings/{event-id}
Returns decisions made in a specific meeting (plenary sitting).
EP API Endpoint: GET /meetings/{sitting-id}/decisions
Returns foreseen activities linked to a specific meeting.
EP API Endpoint: GET /meetings/{sitting-id}/foreseen-activities
Returns plenary session document items for a specific meeting.
EP API Endpoint: GET /meetings/{sitting-id}/plenary-session-document-items
Returns plenary session documents for a specific meeting.
EP API Endpoint: GET /meetings/{sitting-id}/plenary-session-documents
Retrieves plenary sessions with date and location filtering.
EP API Endpoint: GET /meetings
dateFrom, dateTo, location, limit, offset
Paginated plenary session list
PrivatetransformPrivatetransformPrivatetransformPrivatetransform
Sub-client for plenary sessions and meeting-related EP API endpoints.