covid19
Module covid19
API
Definitions
ballerinax/covid19 Ballerina library
Overview
This is a generated connector from Novel COVID-19 API v3.0.0 OpenAPI Specification.
Ballerina connector for COVID-19 provides easy access to latest COVID-19 related data across the world. Please refer to API documentation for more detail.
Quickstart
To use the COVID-19 connector in your Ballerina application, update the .bal file as follows:
Step 1: Import connector
import ballerinax/covid19
Step 2: Create a new connector instance
covid19:Client covid19Client = check new ();
Step 3: Invoke connector operation
- Get COVID-19 status by country
public function main() { covid19:CovidCountry statusByCountry = check covid19Client->getStatusByCountry("sri lanka"); }
- Use
bal runcommand to compile and run the Ballerina program.
Clients
covid19: Client
This is a generated connector from Novel COVID-19 API version 3.0.0 OpenAPI Specification. Ballerina connector for COVID-19 provides easy access to latest COVID-19 related data across the world. Please refer to API documentation for more detail.
Constructor
Gets invoked to initialize the connector.
The connector initialization doesn't require setting the API credentials.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig {} - The configurations to be used when initializing the
connector
- serviceUrl string "https://disease.sh" - URL of the target service
getGlobalStatus
function getGlobalStatus(string? yesterday, string? twoDaysAgo, string? allowNull) returns CovidAll|errorGet global COVID-19 totals for today, yesterday and two days ago
Parameters
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- twoDaysAgo string? (default ()) - Enter
true(1) to receive data reported two days ago. Default isfalse(0)
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
getAllUSAStatesStatus
function getAllUSAStatesStatus(string? sort, string? yesterday, string? allowNull) returns CovidStates|errorGet COVID-19 totals for all US States
Parameters
- sort string? (default ()) - Provided a key (e.g. cases, todayCases, deaths, active), result will be sorted from greatest to least
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidStates|error - Status OK
getUSAStatusByState
function getUSAStatusByState(string states, string? yesterday, string? allowNull) returns CovidState|errorGet COVID-19 totals for specific US State(s)
Parameters
- states string - State name or comma separated names spelled correctly
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidState|error - COVID-19 status of the given US state
getAllContinentsStatus
function getAllContinentsStatus(string? yesterday, string? twoDaysAgo, string? sort, string? allowNull) returns CovidContinents|errorGet COVID-19 totals for all continents
Parameters
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- twoDaysAgo string? (default ()) - Enter
true(1) to receive data reported two days ago. Default isfalse(0)
- sort string? (default ()) - Provided a key (e.g. cases, todayCases, deaths, recovered, active), results will be sorted from greatest to least
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidContinents|error - Status OK
getStatusByContinent
function getStatusByContinent(string continent, string? yesterday, string? twoDaysAgo, string strict, string? allowNull) returns CovidContinent|errorGet COVID-19 totals for a specific continent
Parameters
- continent string - Continent name
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- twoDaysAgo string? (default ()) - Enter
true(1) to receive data reported two days ago. Default isfalse(0)
- strict string (default "true") - Setting to false gives you the ability to fuzzy search continents (i.e. Oman vs. rOMANia)
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidContinent|error - COVID-19 status of the given continent
getAllCountriesStatus
function getAllCountriesStatus(string? yesterday, string? twoDaysAgo, string? sort, string? allowNull) returns CovidCountries|errorGet COVID-19 totals for all countries
Parameters
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- twoDaysAgo string? (default ()) - Enter
true(1) to receive data reported two days ago. Default isfalse(0)
- sort string? (default ()) - Provided a key (e.g. cases, todayCases, deaths, recovered, active), the result will be sorted from greatest to least
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidCountries|error - Status OK
getStatusByCountry
function getStatusByCountry(string country, string? yesterday, string? twoDaysAgo, string strict, string? allowNull) returns CovidCountry|errorGet COVID-19 totals for a specific country
Parameters
- country string - A country name, iso2, iso3, or country ID code
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- twoDaysAgo string? (default ()) - Enter
true(1) to receive data reported two days ago. Default isfalse(0)
- strict string (default "true") - Setting to false gives you the ability to fuzzy search countries (i.e. Oman vs. rOMANia)
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidCountry|error - COVID-19 status of the given country
getMultipleCountriesStatus
function getMultipleCountriesStatus(string countries, string? yesterday, string? twoDaysAgo, string? allowNull) returns CovidCountries|errorGet COVID-19 totals for a specific set of countries
Parameters
- countries string - Multiple country names, iso2, iso3, or country IDs separated by commas
- yesterday string? (default ()) - Enter
true(1) to receive data reported a day ago. Default isfalse(0)
- twoDaysAgo string? (default ()) - Enter
true(1) to receive data reported two days ago. Default isfalse(0)
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
Return Type
- CovidCountries|error - Status OK
getAllCountriesAndProvincesStatus
function getAllCountriesAndProvincesStatus() returns CovidJHUCountries|errorGet COVID-19 totals for all countries and their provinces
Return Type
- CovidJHUCountries|error - Status OK
getUSCountiesStatus
function getUSCountiesStatus() returns CovidJHUCounties|errorGet COVID-19 totals for all US counties
Return Type
- CovidJHUCounties|error - Status OK
getUSAStatusByCounty
Get COVID-19 totals for a specific county
Parameters
- county string - Name of any county in the USA. All counties are listed in the /v3/covid-19/jhucsse/counties/ endpoint
Return Type
- CovidJHUCounties|error - Status OK
getTimeSeriesForAllCountriesAndProvinces
Get COVID-19 time series data for all countries and their provinces
Parameters
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistorical|error - Status OK
getGlobalStatusInTimeSeries
function getGlobalStatusInTimeSeries(string lastdays) returns CovidHistoricalAll|errorGet global accumulated COVID-19 time series data
Parameters
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistoricalAll|error - Status Ok
getTimeSeriesBycountry
function getTimeSeriesBycountry(string country, string lastdays) returns CovidHistoricalCountry|errorGet COVID-19 time series data for a specific country
Parameters
- country string - A country name, iso2, iso3, or country ID code
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistoricalCountry|error - COVID-19 related time series for the given country
getTimeSeriesOfMultipleCountries
function getTimeSeriesOfMultipleCountries(string countries, string lastdays) returns CovidHistoricalCountries|errorGet COVID-19 time series data for a specific set of countries
Parameters
- countries string - Multiple country names, iso2, iso3, or country IDs separated by commas
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistoricalCountries|error - Status Ok
getTimeSeriesByProvince
function getTimeSeriesByProvince(string country, string province, string lastdays) returns CovidHistoricalProvince|errorGet COVID-19 time series data for a specific province in a country
Parameters
- country string - A country name, iso2, iso3, or country ID code
- province string - Province name. All available names can be found in the /v3/covid-19/historical/{query} endpoint
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistoricalProvince|error - Status Ok
getTimeSeriesDataForMultipleProvinces
function getTimeSeriesDataForMultipleProvinces(string country, string provinces, string lastdays) returns CovidHistoricalProvinces|errorGet COVID-19 time series data for a set of provinces in a country
Parameters
- country string - A country name, iso2, iso3, or country ID code
- provinces string - Provinces spelled correctly separated by ',' or '|' delimiters, never both in the same query
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistoricalProvinces|error - Status Ok
getTimeSeriesForUSACounties
function getTimeSeriesForUSACounties() returns CovidHistoricalUSCounties|errorGet all possible US States to query the /historical/usacounties/{state} endpoint with
Return Type
- CovidHistoricalUSCounties|error - Status OK
getUSACountiesDataByState
function getUSACountiesDataByState(string state, string lastdays) returns CovidHistoricalUSCounty|errorGet COVID-19 time series data for all counties in a specified US state
Parameters
- state string - US state name, validated in the array returned from the /v3/covid-19/historical/usacounties endpoint
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidHistoricalUSCounty|error - Status Ok
getTimeSeriesForAllUSAStatesNYT
Get COVID-19 time series data for all states, with an entry for each day since the pandemic began
Parameters
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidNYTState|error - Status Ok
getTimeSeriesByUSAStateNYT
Get COVID-19 time series data for a state or set of states, with an entry for each day since the pandemic began
Parameters
- state string - State name(s), separated by commas (e.g. 'Illinois, California')
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidNYTState|error - Status Ok
getTimeSeriesByUSACountyNYT
Get COVID-19 time series data for a county or set of counties, with an entry for each day since the pandemic began
Parameters
- county string - County name(s), separated by commas (e.g. 'Alameda, Humboldt')
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
Return Type
- CovidNYTCounty|error - Status Ok
getTimeSeriesForUSANYT
function getTimeSeriesForUSANYT() returns CovidNYTUSA|errorGet COVID-19 time series data for the entire USA, with an entry for each day since the pandemic began
Return Type
- CovidNYTUSA|error - Status Ok
getAppleMobilityDataSupportedCountries
function getAppleMobilityDataSupportedCountries() returns CovidAppleCountries|errorGet a list of supported countries for Apple mobility data
Return Type
- CovidAppleCountries|error - Status Ok
getAppleMobilityDataSupportedSubRegions
function getAppleMobilityDataSupportedSubRegions(string country) returns CovidAppleSubregions|errorGet a list of supported subregions for specific country in the Apple mobility data set
Parameters
- country string - A valid country name from the /v3/covid-19/apple/countries endpoint
Return Type
- CovidAppleSubregions|error - Status Ok
getStatusBySubRegionUsingAppleMobilotyData
function getStatusBySubRegionUsingAppleMobilotyData(string country, string subregions) returns CovidAppleData|errorGet COVID-19 Apple mobility data for subregions of a country
Parameters
- country string - A valid country name from the /v3/covid-19/apple/countries endpoint
- subregions string - Valid subregion(s) from the /v3/covid-19/apple/countries/{country} endpoint, separated by with commas
Return Type
- CovidAppleData|error - Status Ok
getGovenrmentDataSupportedCountries
function getGovenrmentDataSupportedCountries() returns CovidGov|errorGet a list of supported countries for government specific data
Return Type
- CovidGov|error - Status Ok
getGovernmentReportedDataByCountry
function getGovernmentReportedDataByCountry(string country, string? allowNull) returns Response|errorGet COVID-19 government reported data for a specific country
Parameters
- country string - A valid country name from the /v3/covid-19/gov endpoint
- allowNull string? (default ()) - By default, value is 0. Enter
1to allow nulls to be returned
getVaccineTrialData
Get vaccine trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven at https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-vaccine-tracker
getTotalGlobalVaccineDosesAdministered
function getTotalGlobalVaccineDosesAdministered(string lastdays, string fullData) returns VaccineCoverage|errorGet total global COVID-19 vaccine doses administered. Sourced from https://covid.ourworldindata.org/
Parameters
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
- fullData string (default "false") - Flag indicating whether to return data type as SimpleVaccineTimeline (false) or FullVaccineTimeline (true).
Return Type
- VaccineCoverage|error - Vaccine coverage data
getVaccineCoverageOfAllCountries
function getVaccineCoverageOfAllCountries(string lastdays, string fullData) returns VaccineCountriesCoverage|errorGet COVID-19 vaccine doses administered for all countries that have reported rolling out vaccination. Sourced from https://covid.ourworldindata.org/
Parameters
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
- fullData string (default "false") - Flag indicating whether to return data type as SimpleVaccineTimeline (false) or FullVaccineTimeline (true).
Return Type
- VaccineCountriesCoverage|error - Status Ok
getVaccineCoverageByCountry
function getVaccineCoverageByCountry(string country, string lastdays, string fullData) returns VaccineCountryCoverage|errorGet COVID-19 vaccine doses administered for a country that has reported vaccination rollout. Sourced from https://covid.ourworldindata.org/
Parameters
- country string - A valid country name, iso2, iso3
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
- fullData string (default "false") - Flag indicating whether to return data type as SimpleVaccineTimeline (false) or FullVaccineTimeline (true).
Return Type
- VaccineCountryCoverage|error - Status Ok
getVaccineCoverageOfAllUSAStates
function getVaccineCoverageOfAllUSAStates(string lastdays, string fullData) returns VaccineStatesCoverage|errorGet COVID-19 vaccine doses administered for all states that have reported rolling out vaccination. Sourced from https://covid.ourworldindata.org/
Parameters
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
- fullData string (default "false") - Flag indicating whether to return data type as SimpleVaccineTimeline (false) or FullVaccineTimeline (true).
Return Type
- VaccineStatesCoverage|error - Status Ok
getVaccineCoverageByUSAState
function getVaccineCoverageByUSAState(string state, string lastdays, string fullData) returns VaccineStateCoverage|errorGet COVID-19 vaccine doses administered for a state that has reported vaccination rollout. Sourced from https://covid.ourworldindata.org/
Parameters
- state string - A valid state name
- lastdays string (default "30") - Number of days to return. Use 'all' for the full data set (e.g. 15, all, 24)
- fullData string (default "false") - Flag indicating whether to return data type as SimpleVaccineTimeline (false) or FullVaccineTimeline (true).
Return Type
- VaccineStateCoverage|error - Status Ok
getTherapeuticsTrialData
function getTherapeuticsTrialData() returns Therapeutics|errorGet therapeutics trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven at https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-therapeutics-tracker
Return Type
- Therapeutics|error - Status Ok
getInfluenzaLikeIllnessData
function getInfluenzaLikeIllnessData() returns InfluenzaILINet|errorGet Influenza-like-illness data for the 2019 and 2020 outbreaks from the US Center for Disease Control
Return Type
- InfluenzaILINet|error - Status Ok
getInfluenzaReportsByUCLA
function getInfluenzaReportsByUCLA() returns InfluenzaUSCL|errorGet Influenza report data for the 2019 and 2020 outbreaks from the US Center for Disease Control, reported by US clinical labs
Return Type
- InfluenzaUSCL|error - Status Ok
getInfluenzaReportsByUSPHL
function getInfluenzaReportsByUSPHL() returns InfluenzaUSPHL|errorGet Influenza report data for the 2019 and 2020 outbreaks from the US Center for Disease Control, reported by US public health labs
Return Type
- InfluenzaUSPHL|error - Status Ok
Records
covid19: Cases
Fields
- date decimal? -
covid19: ClientHttp1Settings
Provides settings related to HTTP/1.x protocol.
Fields
- keepAlive KeepAlive(default http:KEEPALIVE_AUTO) - Specifies whether to reuse a connection for multiple requests
- chunking Chunking(default http:CHUNKING_AUTO) - The chunking behaviour of the request
- proxy ProxyConfig? - Proxy server related options
covid19: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings? - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings? - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- poolConfig PoolConfiguration? - Configurations associated with request pooling
- cache CacheConfig? - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker CircuitBreakerConfig? - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig RetryConfig? - Configurations associated with retrying
- responseLimits ResponseLimitConfigs? - Configurations associated with inbound response size limits
- secureSocket ClientSecureSocket? - SSL/TLS-related options
- proxy ProxyConfig? - Proxy server related options
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
covid19: CovidAll
Fields
- updated decimal -
- cases decimal -
- todayCases decimal -
- deaths decimal -
- todayDeaths decimal -
- recovered decimal -
- todayRecovered decimal -
- active decimal -
- critical decimal -
- casesPerOneMillion decimal? -
- deathsPerOneMillion decimal? -
- tests decimal? -
- testsPerOneMillion decimal? -
- population decimal -
- oneCasePerPeople decimal? -
- oneDeathPerPeople decimal? -
- oneTestPerPeople decimal? -
- activePerOneMillion decimal? -
- recoveredPerOneMillion decimal? -
- criticalPerOneMillion decimal? -
- affectedCountries decimal? -
covid19: CovidAppleData
Fields
- country string? -
- subregion string? -
- data CovidappledataData[]? -
covid19: CovidappledataData
Fields
- 'sub\-region string? -
- subregion_and_city string? -
- geo_type string? -
- date string? -
- driving decimal? -
- transit decimal? -
- walking decimal? -
covid19: CovidAppleSubregions
Fields
- country string? -
- subregions string[]? -
covid19: CovidContinent
Fields
- updated decimal -
- cases decimal -
- todayCases decimal -
- deaths decimal -
- todayDeaths decimal -
- recovered decimal? -
- todayRecovered decimal? -
- active decimal -
- critical decimal -
- casesPerOneMillion decimal? -
- deathsPerOneMillion decimal? -
- tests decimal? -
- testsPerOneMillion decimal? -
- population decimal? -
- continent string? -
- activePerOneMillion decimal? -
- recoveredPerOneMillion decimal? -
- criticalPerOneMillion decimal? -
- continentInfo CovidcontinentContinentinfo? -
- countries string[]? -
covid19: CovidcontinentContinentinfo
Fields
- lat decimal? -
- long decimal? -
covid19: CovidCountry
Fields
- updated decimal? -
- country string -
- countryInfo CovidcountryCountryinfo? -
- cases decimal -
- todayCases decimal -
- deaths decimal -
- todayDeaths decimal -
- recovered decimal -
- todayRecovered decimal? -
- active decimal -
- critical decimal? -
- casesPerOneMillion decimal? -
- deathsPerOneMillion decimal? -
- tests decimal? -
- testsPerOneMillion decimal? -
- population decimal -
- continent string -
- oneCasePerPeople decimal? -
- oneDeathPerPeople decimal? -
- oneTestPerPeople decimal? -
- activePerOneMillion decimal? -
- recoveredPerOneMillion decimal? -
- criticalPerOneMillion decimal? -
covid19: CovidcountryCountryinfo
Fields
- _id decimal? -
- iso2 string? -
- iso3 string? -
- lat decimal? -
- long decimal? -
- flag string? -
covid19: CovidHistoricalAll
Fields
- cases TimelineDeaths -
- deaths TimelineDeaths -
- recovered TimelineDeaths -
covid19: CovidHistoricalCountry
Fields
- country string? -
- province string[]? -
- timeline Timeline? -
covid19: CovidhistoricalInner
Fields
- country string -
- province string? -
- timeline Timeline -
covid19: CovidHistoricalProvince
Fields
- country string? -
- province string? -
- timeline Timeline? -
covid19: CovidhistoricaluscountyInner
Fields
- province string? -
- county string? -
- timeline Timeline? -
covid19: CovidJHUCountry
Fields
- country string -
- county string? -
- updatedAt string? -
- stats CovidjhucountryStats -
- coordinates CovidjhucountryCoordinates? -
- province string? -
covid19: CovidjhucountryCoordinates
Fields
- latitude string? -
- longitude string? -
covid19: CovidjhucountryStats
Fields
- confirmed decimal -
- deaths decimal -
- recovered decimal? -
covid19: CovidJHUCounty
Fields
- country string -
- province string -
- county string -
- updatedAt string? -
- stats CovidjhucountryStats? -
- coordinates CovidjhucountryCoordinates? -
covid19: CovidnytcountyInner
Fields
- date string? -
- county string? -
- state string? -
- fips string? -
- cases decimal? -
- deaths decimal? -
covid19: CovidnytstateInner
Fields
- date string -
- state string -
- fips string -
- cases decimal -
- deaths decimal -
covid19: CovidnytusaInner
Fields
- date string? -
- cases decimal? -
- deaths decimal? -
covid19: CovidState
Fields
- state string -
- updated decimal -
- cases decimal -
- todayCases decimal -
- deaths decimal -
- todayDeaths decimal -
- active decimal -
- casesPerOneMillion decimal? -
- deathsPerOneMillion decimal? -
- tests decimal? -
- testsPerOneMillion decimal? -
- population decimal -
covid19: FullvaccinetimelineInner
Fields
- total decimal? -
- daily decimal? -
- totalPerHundred decimal? -
- dailyPerMillion decimal? -
- date string? -
covid19: ILINet
Fields
- week string? -
- 'age\ 5\-24 decimal? -
- 'age\ 25\-49 decimal? -
- 'age\ 50\-64 decimal? -
- 'age\ 64\+ decimal? -
- totalILI decimal? -
- totalPatients decimal? -
- percentUnweightedILI decimal? -
- percentWeightedILI decimal? -
covid19: InfluenzaILINet
Fields
- updated decimal? -
- 'source string? -
- data ILINet[]? -
covid19: InfluenzaUSCL
Fields
- updated decimal? -
- 'source string? -
- data USCL[]? -
covid19: InfluenzaUSPHL
Fields
- updated decimal? -
- 'source string? -
- data USPHL[]? -
covid19: Phases
Fields
- phase string? -
- candidates string? -
covid19: ProxyConfig
Proxy server configurations to be used with the HTTP client endpoint.
Fields
- host string(default "") - Host name of the proxy server
- port int(default 0) - Proxy server port
- userName string(default "") - Proxy server username
- password string(default "") - Proxy server password
covid19: SimpleVaccineTimeline
Fields
- date decimal? -
covid19: Therapeutic
Fields
- medicationClass string? -
- tradeName string[]? -
- details string? -
- developerResearcher string[]? -
- sponsors string[]? -
- trialPhase string? -
- lastUpdate string? -
covid19: Therapeutics
Fields
- 'source string? -
- totalCandidates string? -
- phases Phases[]? -
- data Therapeutic[]? -
covid19: Timeline
Fields
- cases Cases -
- deaths TimelineDeaths -
- recovered TimelineDeaths -
covid19: TimelineDeaths
Fields
- date decimal? -
covid19: USCL
Fields
- week string? -
- totalA decimal? -
- totalB decimal? -
- percentPositiveA decimal? -
- percentPositiveB decimal? -
- totalTests decimal? -
- percentPositive decimal? -
covid19: USPHL
Fields
- week string? -
- 'A\(H3N2v\) decimal? -
- 'A\(H1N1\) decimal? -
- 'A\(H3\) decimal? -
- 'A\(unable\ to\ sub\-type\)\+ decimal? -
- 'A\(Subtyping\ not\ performed\) decimal? -
- B decimal? -
- BVIC decimal? -
- totalTests decimal? -
covid19: Vaccine
Fields
- candidate string? -
- mechanism string? -
- sponsors string[]? -
- details string? -
- trialPhase string? -
- institutions string[]? -
covid19: VaccineCountryCoverage
Fields
- country string? -
- timeline SimpleVaccineTimeline|FullVaccineTimeline? -
covid19: Vaccines
Fields
- 'source string? -
- totalCandidates string? -
- phases Phases[]? -
- data Vaccine[]? -
covid19: VaccineStateCoverage
Fields
- state string? -
- timeline SimpleVaccineTimeline|FullVaccineTimeline? -
Union types
covid19: VaccineCoverage
VaccineCoverage
Import
import ballerinax/covid19;Metadata
Released date: over 2 years ago
Version: 1.5.1
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.4.1
GraalVM compatible: Yes
Pull count
Total: 2078
Current verison: 0
Weekly downloads
Keywords
Lifestyle & Entertainment/News & Lifestyle
Cost/Free
Contributors
Dependencies