Socket
Book a DemoInstallSign in
Socket

coronavirusapi-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coronavirusapi-wrapper

COVID-19 API SDK for JavaScript.

latest
npmnpm
Version
3.0.4
Version published
Maintainers
1
Created
Source
covid19 api icon

COVID-19 API SDK for JavaScript

Develop and deploy applications, mobile and web, with popular JavaScript Frameworks using COVID19 API SDK for JavaScript.

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.

(c) 2020-2023 Moat Systems Limited.

Keywords

"coronavirusapi-wrapper"

FAQs

Package last updated on 21 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.