Skip to content

LinThitHtwe/Country-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6e3025a · Aug 8, 2024

History

20 Commits
Jul 24, 2024
Aug 8, 2024
Aug 8, 2024
Jul 8, 2024
Aug 8, 2024
Jul 24, 2024
Aug 8, 2024
Jul 10, 2024
Mar 15, 2024
Aug 8, 2024
Jul 24, 2024
Jul 24, 2024
Jul 24, 2024
Mar 15, 2024

Repository files navigation

Country API

All api endpoints

{
  "allCountriesUrl":"http://country-api-q7dz.onrender.com/countries/all",
  "countriesByContinent":"http://country-api-q7dz.onrender.com/countries/continent/{continentName}",
  "countriesBySovereignty":"http://country-api-q7dz.onrender.com/countries/sovereignty/{sovereigntyName}",
  "countryByISONumericCode":"http://country-api-q7dz.onrender.com/countries/isocode/numeric/{ISONumericCode}",
  "countryByISOCode":"http://country-api-q7dz.onrender.com/countries/isocode/{ISOCode}",
  "countriesByCurrencyCode":"http://country-api-q7dz.onrender.com/countries/currency/{currencyCode}",
  "countryByTopLevelDomain":"http://country-api-q7dz.onrender.com/countries/topLevelDomain/{topLevelDomain}",
  "countriesByDialingCode":"http://country-api-q7dz.onrender.com/countries/dialingCode/{dialingCode}"
}

Country Data Sample

interface Country {
  name: string;
  officialName: string;
  dialingCode: string;
  ISOCodes: {
    alpha2Code: string;
    alpha3Code: string;
    numeric: string;
  };
  currency: {
    name: string;
    ISOCode: string;
  };
  sovereignty: string;
  continent: string[];
  topLevelDomain: string;
}

Releases

No releases published

Packages

No packages published