[Extension] CountryInfo: Get Some Information About Any Country

Nice extension :grinning:

2 Likes

Amazing extension

1 Like

Thanks for that extension. Excellent job!

1 Like

Thanks everyone!

10 replies of appreciation but only 6 likes…
C’mon people show some love by liking the post. :heart: :blush:

2 Likes

Hello, @FahadAhmad from where you get the country flags.

Edit: Got it :grin::grin:
https://www.countryflags.io

Nope, I used Deephost’s Country Code picker extension in demo app to get country code and flag.

This can also be used:

1 Like

The Dominican Republic and Canada have a conflict.

Use the same code, which means that if I choose RD shows me the Canadian flag, which creates confusion

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.
Like for:

The Dominican Republic, use +1829

2 Likes

How many countries does it support ?

:+1: Nice Work!

2 Likes

Almost every country that have their own country dialing code.
I’ll try to compile a list of all available countries.

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