@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

none

Package Sidebar

Install

npm i @reuters-graphics/covid-metadata-client

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

141 kB

Total Files

22

Last publish

Collaborators

  • pkd2512
  • swhart22
  • mf475
  • allyjlevine
  • hobbes7878