Countries.Country
— TypeCountry
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.CountrySubdivision
— TypeCountrySubdivision
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.Currency
— TypeCurrency
A currency. Information can be accessed from its fields.
Its fields are: alpha3
, name
, numeric
.
Returned by get_currency
and all_currencies
.
Countries.Language
— TypeLanguage
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.Script
— TypeScript
A script. Information can be accessed from its fields.
Its fields are: alpha4
, name
, numeric
.
Returned by get_script
and all_scripts
.
Countries.all_countries
— Functionall_countries()
A list of all countries.
Countries.all_country_subdivisions
— Functionall_country_subdivisions()
A list of all country subdivisions.
Countries.all_currencies
— Functionall_currencies()
A list of all currencies.
Countries.all_languages
— Functionall_languages()
A list of all languages.
Countries.all_scripts
— Functionall_scripts()
A list of all scripts.
Countries.get_country
— Functionget_country(code)
The unique country with the given code
(alpha2, alpha3 or numeric).
Countries.get_country_subdivision
— Functionget_country_subdivision(code)
The unique country subdivision with the given code
.
Countries.get_currency
— Functionget_currency(code)
The unique currency with the given code
(alpha3 or numeric).
Countries.get_language
— Functionget_language(code)
The unique language with the given code
(alpha2, alpha3 or bibliographic).
Countries.get_script
— Functionget_script(code)
The unique script with the given code
(alpha4 or numeric).