Countries.CountryType
Country

A country. Information can be accessed from its fields.

Its fields are: alpha2, alpha3, name, numeric, official_name, common_name, flag (optional).

Returned by get_country and all_countries.

Countries.CountrySubdivisionType
CountrySubdivision

A country subdivision. Information can be accessed from its fields.

Its fields are: code, name, type, parent (optional).

Returned by get_country_subdivision and all_country_subdivisions.

Countries.CurrencyType
Currency

A currency. Information can be accessed from its fields.

Its fields are: alpha3, name, numeric.

Returned by get_currency and all_currencies.

Countries.LanguageType
Language

A language. Information can be accessed from its fields.

Its fields are: alpha2 (optional), alpha3, name, scope, type, common_name, inverted_name, bibliographic.

Returned by get_language and all_languages.

Countries.ScriptType
Script

A script. Information can be accessed from its fields.

Its fields are: alpha4, name, numeric.

Returned by get_script and all_scripts.

Countries.get_countryFunction
get_country(code)

The unique country with the given code (alpha2, alpha3 or numeric).

Countries.get_currencyFunction
get_currency(code)

The unique currency with the given code (alpha3 or numeric).

Countries.get_languageFunction
get_language(code)

The unique language with the given code (alpha2, alpha3 or bibliographic).

Countries.get_scriptFunction
get_script(code)

The unique script with the given code (alpha4 or numeric).