EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Single direct-fetch attempt with one subscription key.

      Parameters

      • url: string

        Fully-qualified IMF SDMX URL.

      • key: string | undefined

        Subscription key for this attempt, or undefined to send unauthenticated.

      • ctx: IMFHttpContext

        HTTP context adapter.

      Returns Promise<{ kind: "ok"; text: string } | { kind: "error" | "auth"; error: Error }>

      'ok' with body text, 'auth' with the 401/403 error, or 'error' for everything else.