corona-warn-app
TypeScript icon, indicating that this package has built-in type declarations

2.2.7 • Public • Published

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

Package Sidebar

Install

npm i corona-warn-app

Weekly Downloads

4

Version

2.2.7

License

GPL-3.0

Unpacked Size

55.5 kB

Total Files

21

Last publish

Collaborators

  • ffflorian