forked from ChrisMichaelPerezSantiago/covid19
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestPlugin.js
35 lines (34 loc) · 2.44 KB
/
TestPlugin.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const PluginManager = require('./src/api/index');
(async() =>{
//const reports = await PluginManager.getReports()
//const reportsByCountries = await PluginManager.getReportsByCountries('us');
//const deaths = await PluginManager.getDeaths();
//const situationsReports = await PluginManager.getSituationReports();
//const taskforce = await PluginManager.getTaskForceInfoUS();
//const globalData = await PluginManager.getGlobalData();
//const testsInUS = await PluginManager.getTestsInUS();
//const fatalityRateByAge = await PluginManager.getFatalityRateByAge();
//const fatalityRateBySex = await PluginManager.getFatalityRateBySex();
//const fatalityRateByComorbidities = await PluginManager.getFatalityRateByComorbidities();
//const countriesWhereCoronavirusHasSpread = await PluginManager.getCountriesWhereCoronavirusHasSpread();
//const travelHealthNotices = await PluginManager.getTravelHealthNotices();
//const getAllCasesInAmerica = await PluginManager.getAllCasesInAmerica();
//const getAllCasesInEurope = await PluginManager.getAllCasesInEurope();
//const caseStatusUndeEvalutationInPR = await PluginManager.getCaseStatusUndeEvalutationInPR();
//const casesInAllUSStates = await PluginManager.getCasesInAllUSStates();
//const capacityInfoUSHealthFacilities = await PluginManager.getCapacityInfoUSHealthFacilities();
//const aggregatedFacilityCapacityCounty = await PluginManager.getAggregatedFacilityCapacityCounty();
//const johnsHopkinsDataDailyReport = await PluginManager.getJohnsHopkinsDataDailyReport();
//const prGeneralResults = await PluginManager.getPRGeneralResults();
//const prDataByRegion = await PluginManager.getPRDataByRegion();
//const prDataBySex = await PluginManager.getPRDataBySex();
//await PluginManager.downloadReportsToCSV();
//const indiaCasesByStates = await PluginManager.getIndiaCasesByStates();
//const spainCasesByCommunities = await PluginManager.getSpainCasesByCommunities();
//const australiaCasesByStates = await PluginManager.getAustraliaCasesByStates();
//const canadaCasesByProvincesAndHealthRegion = await PluginManager.getCanadaCasesByProvincesAndHealthRegion();
//const japanCasesByPrefecture = await PluginManager.getJapanCasesByPrefecture();
//const getNewZealandCasesByDistrictHealthBoard = await PluginManager.getNewZealandCasesByDistrictHealthBoard();
//const unitedStateCasesByStates = await PluginManager.getUnitedStateCasesByStates();
//console.log(unitedStateCasesByStates);
})();