Extension name: CountryInfo
It is an extension that can be used to get some information about any country. It works offline.
Latest Version: 1 Released:2020-07-05T17:35:00Z Last Updated:2020-07-05T17:35:00Z
There’s only one event currently.
Event raised after ‘GetInfo’ method with all the info about the country with provided dialing code (country code)
name ~ text (Name of the country)
capital ~ text (Capital of the country)
alpha2 ~ text (Alpha-2 code of the country)
alpha3 ~ text (Alpha-3 code of the country)
currencyCode ~ text (Currency code of the country)
currencyName ~ text (Currency name of the country)
There’s also only one method currently.
Gets the information of the given country code
countryCode ~ text (e.g. +1 for US)
Returns the info in ‘GotInfo’ event.
Returns the name of the country
Returns the capital of the country
Returns the alpha-2 code of the country
Returns the alpha-3 code of the country
Returns the currency code of the country
Returns the currency name of the country
NOTE: Properties will return value after calling ‘GetInfo’ method.
Actually, there’s a problem in Deephost’s Country code picker extension. It returns +1.
My extension takes country code as input.
For countries whose country code starting with +1, you have to pass complete code as input.