EU Parliament Monitor — API Documentation - v0.8.30
    Preparing search index...
    • Build breaking news article HTML content.

      Feed-first: When feedData is provided, feed sections are the primary content and appear first. Raw MCP analytical data and structured intelligence sections are rendered as supplementary context below.

      When no data is provided at all, returns a placeholder notice.

      Parameters

      • date: string

        Current date string for the article

      • anomalyRaw: string

        Raw anomaly data from MCP (context only)

      • coalitionRaw: string

        Raw coalition dynamics data from MCP (context only)

      • reportRaw: string

        Raw analytical report from MCP (context only)

      • influenceRaw: string

        Raw MEP influence data from MCP (context only)

      • lang: string = 'en'

        Language code for localized editorial strings (default: 'en')

      • anomalies: VotingAnomalyIntelligence[] = []

        Optional structured voting anomaly intelligence items

      • coalitions: CoalitionIntelligence[] = []

        Optional structured coalition intelligence items

      • mepScores: MEPInfluenceScore[] = []

        Optional structured MEP influence score items

      • OptionalfeedData: BreakingNewsFeedData

        Optional EP feed data (adopted texts, events, procedures, MEPs)

      Returns string

      Full article HTML content string