[Extension] CountryInfo: Get Some Information About Any Country

1. Introduction

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-06T02:15:00Z
Last Updated: 2020-07-06T02:15:00Z

2. Blocks

Blocks

3. Documentation

Events

There's only one event currently.

  • GotInfo
    Event raised after 'GetInfo' method with all the info about the country with provided dialing code (country code)
    GotInfo
    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)

Methods

There's also only one method currently.

  • GetInfo
    Gets the information of the given country code
    GetInfo
    countryCode ~ text (e.g. +1 for US)
    Returns the info in 'GotInfo' event.

Properties

  • Name
    Returns the name of the country
    Name
  • Capital
    Returns the capital of the country
    Capital
  • Alpha2
    Returns the alpha-2 code of the country
    Alpha-2
  • Alpha3
    Returns the alpha-3 code of the country
    Alpha-3
  • CurrencyCode
    Returns the currency code of the country
    Currency Code
  • CurrencyName
    Returns the currency name of the country
    Currency Name

NOTE: Properties will return value after calling 'GetInfo' method.

4. Downloads

AIX File

Link 1: com.fahad.CountryInfo.aix (41.7 KB)
Link 2: com.fahad.CountryInfo.aix (Google Drive)

APK File (Demo)

Link 1: CountryInfo.APK (Google Drive)
Screenshot:

5. Credits

I would like to say thank you to @vknow360 for a lot of time and guidance. :heart_eyes:
Data collected from https://www.nationsonline.org/ (mostly) and :google: Google.

6. Note

Due to huge amount of data, there may be something missing or if you found any wrong information, please let me know.
Thank you! :heart:

5 Likes