corona-warn-app

corona-warn-app npm version

An corona-warn-app API client. For a documentation on the API see https://github.com/corona-warn-app/cwa-server#service-apis.

Installation

Run yarn add corona-warn-app or npm install corona-warn-app.

Usage

A complete documentation is available at https://ffflorian.github.io/api-clients/packages/corona-warn-app/.

Example

import {CoronaWarnApp} from 'corona-warn-app';

const cwa = new CoronaWarnApp();

cwa.api.diagnosisKeys.getCountries().then(response => {
//
});

cwa.api.diagnosisKeys.getDatesByCountry('DE').then(response => {
//
});

Generated using TypeDoc