Creates a RateLimiter pre-configured for EP API usage.
Default configuration: 100 tokens per minute — aligned with the European Parliament Open Data Portal's recommended fair-use policy.
A new RateLimiter instance with standard EP API settings
const rateLimiter = createStandardRateLimiter();const result = await rateLimiter.removeTokens(1);if (result.allowed) { const data = await fetchFromEPAPI('/meps');} Copy
const rateLimiter = createStandardRateLimiter();const result = await rateLimiter.removeTokens(1);if (result.allowed) { const data = await fetchFromEPAPI('/meps');}
Ensures sustainable OSINT collection rates from the EP API and prevents service disruption. Per ISMS Policy AC-003, rate limiting is a mandatory access control for external API calls.
0.8.0
Creates a RateLimiter pre-configured for EP API usage.
Default configuration: 100 tokens per minute — aligned with the European Parliament Open Data Portal's recommended fair-use policy.