Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 734 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 734 Bytes

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 => {
  //
});