LitDev Extension API
LDGeography
![](images/IntellisenseObject.png)
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
![](images/IntellisenseProperty.png)
An array of fields that the results will
contain. Fields not specified will not be
returned.
GetAllCountries()
![](images/IntellisenseMethod.png)
Returns all countries on earth and
other territories in a Primitive array.
GetCountriesByCallingCode()
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by telephone calling code.
GetCountriesByCapital()
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by country capital.
GetCountriesByCode()
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by ISO country code.
GetCountriesByCurrency()
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by currency used.
GetCountriesByName(name)
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by name.
name Name of the country to search for
returns
GetCountriesByRegion()
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by geographical region.
GetCountriesByRegionalBloc()
![](images/IntellisenseMethod.png)
Returns a Primitive array of countries by regional bloc.
StrictSearch
![](images/IntellisenseProperty.png)
Whenever possible make the search require an exact match
between the query and the results.