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 getMEPs params to EP API query parameters.
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 all currently active MEPs for today's date.
EP API Endpoint: GET /meps/show-current
Returns homonym MEPs for the current parliamentary term.
EP API Endpoint: GET /meps/show-homonyms
Returns all incoming MEPs for the current parliamentary term.
EP API Endpoint: GET /meps/show-incoming
Returns a single MEP declaration by document ID.
EP API Endpoint: GET /meps-declarations/{doc-id}
Returns MEP declarations of financial interests.
EP API Endpoint: GET /meps-declarations
Retrieves detailed information about a specific MEP.
Supports numeric ID ("124936"), person URI ("person/124936"), or MEP-prefixed ID ("MEP-124936").
MEP identifier in any supported format
Detailed MEP information
Retrieves Members of the European Parliament with filtering and pagination.
Country, group, committee, active status, limit, offset
Paginated MEP list
Returns all outgoing MEPs for the current parliamentary term.
EP API Endpoint: GET /meps/show-outgoing
PrivatetransformPrivatetransformPrivatetransform
Sub-client for MEP-related European Parliament API endpoints.
Handles all MEP data fetching: active lists, individual profiles, incoming/outgoing/homonym lists, and financial declarations.