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

    Class RegionalstatistikClient

    Index
    catalogue: CatalogueGroup
    data: DataGroup
    metadata: MetadataGroup
    • helloworld/logincheck — validate the supplied credentials. Resolves only when GENESIS confirms the login. Wrong credentials — which GENESIS answers with HTTP 200 and an error text in Status (or the token echoed as Username) — reject with a RegionalstatistikApiError whose isAuthError (and loginRejected) is true; an answer that confirms nothing rejects with RegionalstatistikParseError. Without credentials GENESIS answers as the guest user ("Username": "GAST"), which resolves: this does not demand credentials.

      Parameters

      • Optionallanguage: "de" | "en"

      Returns Promise<LoginCheckResponse>