3.0.4 • Published 2 years ago

coronavirusapi-wrapper v3.0.4

Weekly downloads
60
License
BSD-3-Clause
Repository
-
Last release
2 years ago

GitHub top language Snyk Vulnerabilities for npm scoped package GitHub package.json version GitHub last commit npm bundle size Build Status npm GitHub issues License

Install

npm i coronavirusapi-wrapper

// or  

yarn add coronavirusapi-wrapper

Usage

import { sdk, usDeath, usConfirmed, globalConfirmed, globalDeath, globalDailyReport, globalRecovered } from "coronavirusapi-wrapper";

// first, authenticate
sdk.auth("<username>", "<password>"); 

// save token for the next time;
const token = sdk.getToken();

// you can set token directly
sdk.setToken("<Token here>");

// second, call the api endpoint you need
usDeath.getAll();
usConfirmed.getAll();
....

The COVID-19 API documentation is available here. If you need further assistance, don't hesitate to contact us.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the BSD 3-Clause License - see the file for details.

Copyright

(c) 2020-2023 Moat Systems Limited.

3.0.4

2 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

2.2.9

3 years ago

3.0.0

3 years ago

2.2.8

3 years ago

2.2.7

3 years ago

2.2.6

3 years ago

2.2.5

3 years ago

2.2.3

3 years ago

2.2.2

4 years ago

2.2.4

3 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.9

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.9

4 years ago

2.0.8

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago