@reuters-graphics/covid-metadata-client
0.0.1 • Public • Published
covid-metadata-client
Methods
import CovidMetadataClient from '@reuters-graphics/covid-metadata-client';
const client = new CovidMetadataClient();
client.regions;
client.getRegionSlug(regionName);
client.getRegionName(regionSlug);
client.getRegionByCountry(countryNameSlugOrCode);
client.subregions;
client.getSubregionSlug(subregionName);
client.getSubregionName(subregionSlug);
client.getSubregionByCountry(countryNameSlugOrCode);
client.countries;
client.getCountriesByRegion(regionNameOrSlug);
client.getCountriesBySubregion(subregionNameOrSlug);
client.getCountrySlug(countryNameOrCode);
client.getCountryCode(countrySlugOrName);
client.getCountryName(countrySlugOrCode);
Readme
Keywords
nonePackage Sidebar
Install
npm i @reuters-graphics/covid-metadata-client
Weekly Downloads