Skip to Content

Country

The country object describes a country, including its name, ISO code, and currency.

Usage Example

{%- comment -%} Display country information {%- endcomment -%} <p> Country: {{ country.name }} ({{ country.iso_code }})<br> Currency: {{ country.currency.symbol }} ({{ country.currency.iso_code }}) </p>

Properties

currency

Returns the country currency object.

endonym_name

Returns the country endonym name, if available.

id

Returns the unique id for this country.

iso_code

Returns the country ISO code.

name

Returns the country name.

Last updated on