Options
All
  • Public
  • Public/Protected
  • All
Menu

Commitee related methods

Abgeordnetenwatch API Documentation

Index

Type aliases

CommitteeListResult

CommitteeListResult: { data: EntityCommittee[]; meta: ResponseMeta }

List result

Type declaration

CommitteeRelatedDataParameter

CommitteeRelatedDataParameter: "show_information" | "committee_memberships" | "polls"

Possible extra data that you can include on the response for a single item

CommitteeResult

CommitteeResult: { data: EntityCommittee; meta: ResponseEntityMeta }

Single item result

Type declaration

Variables

Const url

url: "https://www.abgeordnetenwatch.de/api/v2/committees" = 'https://www.abgeordnetenwatch.de/api/v2/committees'

Functions

Const committee

  • committee(id: number, relatedData?: null | "show_information" | "committee_memberships" | "polls"): Promise<CommitteeResult>
  • Get a single Committee

    response = await committee(5);
    

    Parameters

    • id: number

      Id of the Committee.

    • relatedData: null | "show_information" | "committee_memberships" | "polls" = null

      Possible related Data you can include in the result

    Returns Promise<CommitteeResult>

    CommitteeResult as JSON

Const committeeList

Generated using TypeDoc