LitDev Extension API
LDGeography

Gets geographic information about countries and
regional blocks.
API provided by https://restcountries.eu
Data provided by https://github.com/mledoze/countries
Coded by Abhishek Sathiabalan
Fields
![]() |
GetAllCountries
![]() |
GetCountriesByCallingCode
![]() |
GetCountriesByCapital
![]() |
GetCountriesByCode
![]() |
GetCountriesByCurrency
![]() |
GetCountriesByName
![]() |
GetCountriesByRegion
![]() |
GetCountriesByRegionalBloc
![]() |
StrictSearch
![]() |
Fields

An array of fields that the results will
contain. Fields not specified will not be
returned.
GetAllCountries()

Returns all countries on earth and
other territories in a Primitive array.
GetCountriesByCallingCode()

Returns a Primitive array of countries by telephone calling code.
GetCountriesByCapital()

Returns a Primitive array of countries by country capital.
GetCountriesByCode()

Returns a Primitive array of countries by ISO country code.
GetCountriesByCurrency()

Returns a Primitive array of countries by currency used.
GetCountriesByName(name)

Returns a Primitive array of countries by name.
name Name of the country to search for
returns
GetCountriesByRegion()

Returns a Primitive array of countries by geographical region.
GetCountriesByRegionalBloc()

Returns a Primitive array of countries by regional bloc.
StrictSearch

Whenever possible make the search require an exact match
between the query and the results.