[Extension] CountryInfo: Get Some Information About Any Country

Great Extension :+1:t2:

1 Like

This post was flagged by the community and is temporarily hidden.

Hello @FahadAhmad,

nice extension :+1:t2:
It would be great if a getInfo method would work with gps coords input !
Is it possible to implement such thing ?
In such case we should be able to get info about country by placing a point on a map :wink:

1 Like

Hi @Stefun!

Thank you!

Sorry but this can’t be implemented in this extension as I build it to work offline.

What is
‘Alpha 2’
‘Alpha 3’
???

@B.S.S.SRIKAR alpha2 is Alpha-2 code of the country and alpha3 is Alpha-3 code of the country. For example Greece’s Alpha-2 code is GR and Alpha-3 code is GRC

See more here

https://www.nationsonline.org/oneworld/country_code_list.htm

3 Likes

Thank You, For your help

@FahadAhmad Is there a way to get country info from country name code ( IN for India, PK for Pakistan) instead of country dial code?

@The_K_Studio you can use this API

https://restcountries.eu/rest/v2/alpha/in

1 Like

There is a bug, if you select the country Andorra, Antigua and Barbuda, Anguilla, American Samoa and Barbados, it returns the data of Canada.

I installed your test APK. There could be many more countries with incorrect data. So far I’ve found the countries listed above.

Great job. I have a suggestion. I think it would be better if you add the country flags. For example add another block that returns the country’s flag with given counrty code. :grinning: