EU Parliament Monitor — API Documentation - v0.8.6
    Preparing search index...
    • Create a scored SWOT item for a strength or weakness (score 0–5). A score of 0 represents a neutral or not-currently-relevant factor.

      Parameters

      • description: string

        Description of the factor

      • score: number

        Magnitude score (0–5; clamped)

      • evidence: readonly string[] = []

        Supporting evidence

      • confidence: ConfidenceLevel = 'medium'

        Confidence level

      • trend: SwotItemTrend = 'stable'

        Trend direction

      Returns ScoredSWOTItem

      ScoredSWOTItem