@maschinenlesbar.org/abgeordnetenwatch-cli
    Preparing search index...

    Function readAll

    • Every item of a filtered collection, page by page (1000 each), at most maxPages pages. Throws when the pages hold fewer items than the count said: a tally of a partial answer would look complete.

      Parameters

      • client: AbgeordnetenwatchClient
      • collection:
            | "parliaments"
            | "parliament-periods"
            | "politicians"
            | "candidacies-mandates"
            | "committees"
            | "committee-memberships"
            | "polls"
            | "votes"
            | "parties"
            | "fractions"
            | "election-program"
            | "electoral-lists"
            | "constituencies"
            | "sidejobs"
            | "sidejob-organizations"
            | "topics"
            | "cities"
            | "countries"
      • filters: Record<string, FilterValue>
      • options: OperationOptions = {}

      Returns Promise<{ items: JsonObject[]; total: number; truncated: boolean }>