Expand description
All world countries, ISO- codes and data points about them, as well as tools for interfacing with that data.
Structs§
- Country
- Country
Meta - Country
Name - Currency
- Geography
- IDD
- International dialing direct info.
- Language
- Locale
- Locale
- Static
Map - A map can be built in compile time
- Subdivision
- Subdivision
Meta - Timezone
- Timezone info, reference: tz database timezones.
Enums§
- CCA2
- ISO 3166-1 alpha-2 code in enum.
- CCA3
- ISO 3166-1 alpha-3 code in enum.
- Day
- Day
- Distance
Uint - The unit of distance used (kilometer or mile)
- Driving
Side - Driving side
- Hour
Clock - Type of clock used
- Measurement
System - The system of measurement in use
- Temperature
Uint - The unit of temperature (celsius or fahrenheit)
- Timezone
Type
Constants§
- ABW
- Aruba
- AD
- Principality of Andorra
- AE
- United Arab Emirates
- AF
- Islamic Republic of Afghanistan
- AFG
- Islamic Republic of Afghanistan
- AG
- Antigua and Barbuda
- AGO
- Republic of Angola
- AI
- Anguilla
- AIA
- Anguilla
- AL
- Republic of Albania
- ALA
- Åland Islands
- ALB
- Republic of Albania
- AM
- Republic of Armenia
- AND
- Principality of Andorra
- AO
- Republic of Angola
- AQ
- Antarctica
- AR
- Argentine Republic
- ARE
- United Arab Emirates
- ARG
- Argentine Republic
- ARM
- Republic of Armenia
- AS
- American Samoa
- ASM
- American Samoa
- AT
- Republic of Austria
- ATA
- Antarctica
- ATF
- Territory of the French Southern and Antarctic Lands
- ATG
- Antigua and Barbuda
- AU
- Commonwealth of Australia
- AUS
- Commonwealth of Australia
- AUT
- Republic of Austria
- AW
- Aruba
- AX
- Åland Islands
- AZ
- Republic of Azerbaijan
- AZE
- Republic of Azerbaijan
- BA
- Bosnia and Herzegovina
- BB
- Barbados
- BD
- People’s Republic of Bangladesh
- BDI
- Republic of Burundi
- BE
- Kingdom of Belgium
- BEL
- Kingdom of Belgium
- BEN
- Republic of Benin
- BES
- Bonaire, Sint Eustatius and Saba
- BF
- Burkina Faso
- BFA
- Burkina Faso
- BG
- Republic of Bulgaria
- BGD
- People’s Republic of Bangladesh
- BGR
- Republic of Bulgaria
- BH
- Kingdom of Bahrain
- BHR
- Kingdom of Bahrain
- BHS
- Commonwealth of the Bahamas
- BI
- Republic of Burundi
- BIH
- Bosnia and Herzegovina
- BJ
- Republic of Benin
- BL
- Collectivity of Saint Barthélemy
- BLM
- Collectivity of Saint Barthélemy
- BLR
- Republic of Belarus
- BLZ
- Belize
- BM
- Bermuda
- BMU
- Bermuda
- BN
- Nation of Brunei, Abode of Peace
- BO
- Plurinational State of Bolivia
- BOL
- Plurinational State of Bolivia
- BQ
- Bonaire, Sint Eustatius and Saba
- BR
- Federative Republic of Brazil
- BRA
- Federative Republic of Brazil
- BRB
- Barbados
- BRN
- Nation of Brunei, Abode of Peace
- BS
- Commonwealth of the Bahamas
- BT
- Kingdom of Bhutan
- BTN
- Kingdom of Bhutan
- BV
- Bouvet Island
- BVT
- Bouvet Island
- BW
- Republic of Botswana
- BWA
- Republic of Botswana
- BY
- Republic of Belarus
- BZ
- Belize
- CA
- Canada
- CAF
- Central African Republic
- CAN
- Canada
- CC
- Territory of the Cocos (Keeling) Islands
- CCK
- Territory of the Cocos (Keeling) Islands
- CD
- Democratic Republic of the Congo
- CF
- Central African Republic
- CG
- Republic of the Congo
- CH
- Swiss Confederation
- CHE
- Swiss Confederation
- CHL
- Republic of Chile
- CHN
- People’s Republic of China
- CI
- Republic of Côte d’Ivoire
- CIV
- Republic of Côte d’Ivoire
- CK
- Cook Islands
- CL
- Republic of Chile
- CM
- Republic of Cameroon
- CMR
- Republic of Cameroon
- CN
- People’s Republic of China
- CO
- Republic of Colombia
- COD
- Democratic Republic of the Congo
- COG
- Republic of the Congo
- COK
- Cook Islands
- COL
- Republic of Colombia
- COM
- Union of the Comoros
- CPV
- Republic of Cabo Verde
- CR
- Republic of Costa Rica
- CRI
- Republic of Costa Rica
- CU
- Republic of Cuba
- CUB
- Republic of Cuba
- CUW
- Country of Curaçao
- CV
- Republic of Cabo Verde
- CW
- Country of Curaçao
- CX
- Territory of Christmas Island
- CXR
- Territory of Christmas Island
- CY
- Republic of Cyprus
- CYM
- Cayman Islands
- CYP
- Republic of Cyprus
- CZ
- Czech Republic
- CZE
- Czech Republic
- DE
- Federal Republic of Germany
- DEU
- Federal Republic of Germany
- DJ
- Republic of Djibouti
- DJI
- Republic of Djibouti
- DK
- Kingdom of Denmark
- DM
- Commonwealth of Dominica
- DMA
- Commonwealth of Dominica
- DNK
- Kingdom of Denmark
- DO
- Dominican Republic
- DOM
- Dominican Republic
- DZ
- People’s Democratic Republic of Algeria
- DZA
- People’s Democratic Republic of Algeria
- EC
- Republic of Ecuador
- ECU
- Republic of Ecuador
- EE
- Republic of Estonia
- EG
- Arab Republic of Egypt
- EGY
- Arab Republic of Egypt
- EH
- Sahrawi Arab Democratic Republic
- ER
- State of Eritrea
- ERI
- State of Eritrea
- ES
- Kingdom of Spain
- ESH
- Sahrawi Arab Democratic Republic
- ESP
- Kingdom of Spain
- EST
- Republic of Estonia
- ET
- Federal Democratic Republic of Ethiopia
- ETH
- Federal Democratic Republic of Ethiopia
- FI
- Republic of Finland
- FIN
- Republic of Finland
- FJ
- Republic of Fiji
- FJI
- Republic of Fiji
- FK
- Falkland Islands
- FLK
- Falkland Islands
- FM
- Federated States of Micronesia
- FO
- Faroe Islands
- FR
- French Republic
- FRA
- French Republic
- FRO
- Faroe Islands
- FSM
- Federated States of Micronesia
- GA
- Gabonese Republic
- GAB
- Gabonese Republic
- GB
- United Kingdom of Great Britain and Northern Ireland
- GBR
- United Kingdom of Great Britain and Northern Ireland
- GD
- Grenada
- GE
- Georgia
- GEO
- Georgia
- GF
- Guiana
- GG
- Bailiwick of Guernsey
- GGY
- Bailiwick of Guernsey
- GH
- Republic of Ghana
- GHA
- Republic of Ghana
- GI
- Gibraltar
- GIB
- Gibraltar
- GIN
- Republic of Guinea
- GL
- Greenland
- GLP
- Guadeloupe
- GM
- Republic of the Gambia
- GMB
- Republic of the Gambia
- GN
- Republic of Guinea
- GNB
- Republic of Guinea-Bissau
- GNQ
- Republic of Equatorial Guinea
- GP
- Guadeloupe
- GQ
- Republic of Equatorial Guinea
- GR
- Hellenic Republic
- GRC
- Hellenic Republic
- GRD
- Grenada
- GRL
- Greenland
- GS
- South Georgia and the South Sandwich Islands
- GT
- Republic of Guatemala
- GTM
- Republic of Guatemala
- GU
- Guam
- GUF
- Guiana
- GUM
- Guam
- GUY
- Co-operative Republic of Guyana
- GW
- Republic of Guinea-Bissau
- GY
- Co-operative Republic of Guyana
- HK
- Hong Kong Special Administrative Region of the People’s Republic of China
- HKG
- Hong Kong Special Administrative Region of the People’s Republic of China
- HM
- Heard Island and McDonald Islands
- HMD
- Heard Island and McDonald Islands
- HN
- Republic of Honduras
- HND
- Republic of Honduras
- HR
- Republic of Croatia
- HRV
- Republic of Croatia
- HT
- Republic of Haiti
- HTI
- Republic of Haiti
- HU
- Hungary
- HUN
- Hungary
- ID
- Republic of Indonesia
- IDN
- Republic of Indonesia
- IE
- Republic of Ireland
- IL
- State of Israel
- IM
- Isle of Man
- IMN
- Isle of Man
- IN
- Republic of India
- IND
- Republic of India
- IO
- British Indian Ocean Territory
- IOT
- British Indian Ocean Territory
- IQ
- Republic of Iraq
- IR
- Islamic Republic of Iran
- IRL
- Republic of Ireland
- IRN
- Islamic Republic of Iran
- IRQ
- Republic of Iraq
- IS
- Iceland
- ISL
- Iceland
- ISR
- State of Israel
- IT
- Italian Republic
- ITA
- Italian Republic
- JAM
- Jamaica
- JE
- Bailiwick of Jersey
- JEY
- Bailiwick of Jersey
- JM
- Jamaica
- JO
- Hashemite Kingdom of Jordan
- JOR
- Hashemite Kingdom of Jordan
- JP
- Japan
- JPN
- Japan
- KAZ
- Republic of Kazakhstan
- KE
- Republic of Kenya
- KEN
- Republic of Kenya
- KG
- Kyrgyz Republic
- KGZ
- Kyrgyz Republic
- KH
- Kingdom of Cambodia
- KHM
- Kingdom of Cambodia
- KI
- Independent and Sovereign Republic of Kiribati
- KIR
- Independent and Sovereign Republic of Kiribati
- KM
- Union of the Comoros
- KN
- Federation of Saint Christopher and Nevis
- KNA
- Federation of Saint Christopher and Nevis
- KOR
- Republic of Korea
- KP
- Democratic People’s Republic of Korea
- KR
- Republic of Korea
- KW
- State of Kuwait
- KWT
- State of Kuwait
- KY
- Cayman Islands
- KZ
- Republic of Kazakhstan
- LA
- Lao People’s Democratic Republic
- LAO
- Lao People’s Democratic Republic
- LB
- Lebanese Republic
- LBN
- Lebanese Republic
- LBR
- Republic of Liberia
- LBY
- State of Libya
- LC
- Saint Lucia
- LCA
- Saint Lucia
- LI
- Principality of Liechtenstein
- LIE
- Principality of Liechtenstein
- LK
- Democratic Socialist Republic of Sri Lanka
- LKA
- Democratic Socialist Republic of Sri Lanka
- LR
- Republic of Liberia
- LS
- Kingdom of Lesotho
- LSO
- Kingdom of Lesotho
- LT
- Republic of Lithuania
- LTU
- Republic of Lithuania
- LU
- Grand Duchy of Luxembourg
- LUX
- Grand Duchy of Luxembourg
- LV
- Republic of Latvia
- LVA
- Republic of Latvia
- LY
- State of Libya
- MA
- Kingdom of Morocco
- MAC
- Macao Special Administrative Region of the People’s Republic of China
- MAF
- Saint Martin
- MAR
- Kingdom of Morocco
- MC
- Principality of Monaco
- MCO
- Principality of Monaco
- MD
- Republic of Moldova
- MDA
- Republic of Moldova
- MDG
- Republic of Madagascar
- MDV
- Republic of the Maldives
- ME
- Montenegro
- MEX
- United Mexican States
- MF
- Saint Martin
- MG
- Republic of Madagascar
- MH
- Republic of the Marshall Islands
- MHL
- Republic of the Marshall Islands
- MK
- Republic of North Macedonia
- MKD
- Republic of North Macedonia
- ML
- Republic of Mali
- MLI
- Republic of Mali
- MLT
- Republic of Malta
- MM
- Republic of the Union of Myanmar
- MMR
- Republic of the Union of Myanmar
- MN
- Mongolia
- MNE
- Montenegro
- MNG
- Mongolia
- MNP
- Commonwealth of the Northern Mariana Islands
- MO
- Macao Special Administrative Region of the People’s Republic of China
- MOZ
- Republic of Mozambique
- MP
- Commonwealth of the Northern Mariana Islands
- MQ
- Martinique
- MR
- Islamic Republic of Mauritania
- MRT
- Islamic Republic of Mauritania
- MS
- Montserrat
- MSR
- Montserrat
- MT
- Republic of Malta
- MTQ
- Martinique
- MU
- Republic of Mauritius
- MUS
- Republic of Mauritius
- MV
- Republic of the Maldives
- MW
- Republic of Malawi
- MWI
- Republic of Malawi
- MX
- United Mexican States
- MY
- Malaysia
- MYS
- Malaysia
- MYT
- Department of Mayotte
- MZ
- Republic of Mozambique
- NA
- Republic of Namibia
- NAM
- Republic of Namibia
- NC
- New Caledonia
- NCL
- New Caledonia
- NE
- Republic of Niger
- NER
- Republic of Niger
- NF
- Territory of Norfolk Island
- NFK
- Territory of Norfolk Island
- NG
- Federal Republic of Nigeria
- NGA
- Federal Republic of Nigeria
- NI
- Republic of Nicaragua
- NIC
- Republic of Nicaragua
- NIU
- Niue
- NL
- Kingdom of the Netherlands
- NLD
- Kingdom of the Netherlands
- NO
- Kingdom of Norway
- NOR
- Kingdom of Norway
- NP
- Federal Democratic Republic of Nepal
- NPL
- Federal Democratic Republic of Nepal
- NR
- Republic of Nauru
- NRU
- Republic of Nauru
- NU
- Niue
- NZ
- New Zealand
- NZL
- New Zealand
- OM
- Sultanate of Oman
- OMN
- Sultanate of Oman
- PA
- Republic of Panama
- PAK
- Islamic Republic of Pakistan
- PAN
- Republic of Panama
- PCN
- Pitcairn Group of Islands
- PE
- Republic of Peru
- PER
- Republic of Peru
- PF
- French Polynesia
- PG
- Independent State of Papua New Guinea
- PH
- Republic of the Philippines
- PHL
- Republic of the Philippines
- PK
- Islamic Republic of Pakistan
- PL
- Republic of Poland
- PLW
- Republic of Palau
- PM
- Saint Pierre and Miquelon
- PN
- Pitcairn Group of Islands
- PNG
- Independent State of Papua New Guinea
- POL
- Republic of Poland
- PR
- Commonwealth of Puerto Rico
- PRI
- Commonwealth of Puerto Rico
- PRK
- Democratic People’s Republic of Korea
- PRT
- Portuguese Republic
- PRY
- Republic of Paraguay
- PS
- State of Palestine
- PSE
- State of Palestine
- PT
- Portuguese Republic
- PW
- Republic of Palau
- PY
- Republic of Paraguay
- PYF
- French Polynesia
- QA
- State of Qatar
- QAT
- State of Qatar
- RE
- Réunion Island
- REU
- Réunion Island
- RO
- Romania
- ROU
- Romania
- RS
- Republic of Serbia
- RU
- Russian Federation
- RUS
- Russian Federation
- RW
- Republic of Rwanda
- RWA
- Republic of Rwanda
- SA
- Kingdom of Saudi Arabia
- SAU
- Kingdom of Saudi Arabia
- SB
- Solomon Islands
- SC
- Republic of Seychelles
- SD
- Republic of the Sudan
- SDN
- Republic of the Sudan
- SE
- Kingdom of Sweden
- SEN
- Republic of Senegal
- SG
- Republic of Singapore
- SGP
- Republic of Singapore
- SGS
- South Georgia and the South Sandwich Islands
- SH
- Saint Helena, Ascension and Tristan da Cunha
- SHN
- Saint Helena, Ascension and Tristan da Cunha
- SI
- Republic of Slovenia
- SJ
- Svalbard og Jan Mayen
- SJM
- Svalbard og Jan Mayen
- SK
- Slovak Republic
- SL
- Republic of Sierra Leone
- SLB
- Solomon Islands
- SLE
- Republic of Sierra Leone
- SLV
- Republic of El Salvador
- SM
- Most Serene Republic of San Marino
- SMR
- Most Serene Republic of San Marino
- SN
- Republic of Senegal
- SO
- Federal Republic of Somalia
- SOM
- Federal Republic of Somalia
- SPM
- Saint Pierre and Miquelon
- SR
- Republic of Suriname
- SRB
- Republic of Serbia
- SS
- Republic of South Sudan
- SSD
- Republic of South Sudan
- ST
- Democratic Republic of São Tomé and Príncipe
- STP
- Democratic Republic of São Tomé and Príncipe
- SUR
- Republic of Suriname
- SV
- Republic of El Salvador
- SVK
- Slovak Republic
- SVN
- Republic of Slovenia
- SWE
- Kingdom of Sweden
- SWZ
- Kingdom of Eswatini
- SX
- Sint Maarten
- SXM
- Sint Maarten
- SY
- Syrian Arab Republic
- SYC
- Republic of Seychelles
- SYR
- Syrian Arab Republic
- SZ
- Kingdom of Eswatini
- TC
- Turks and Caicos Islands
- TCA
- Turks and Caicos Islands
- TCD
- Republic of Chad
- TD
- Republic of Chad
- TF
- Territory of the French Southern and Antarctic Lands
- TG
- Togolese Republic
- TGO
- Togolese Republic
- TH
- Kingdom of Thailand
- THA
- Kingdom of Thailand
- TJ
- Republic of Tajikistan
- TJK
- Republic of Tajikistan
- TK
- Tokelau
- TKL
- Tokelau
- TKM
- Turkmenistan
- TL
- Democratic Republic of Timor-Leste
- TLS
- Democratic Republic of Timor-Leste
- TM
- Turkmenistan
- TN
- Tunisian Republic
- TO
- Kingdom of Tonga
- TON
- Kingdom of Tonga
- TR
- Republic of Turkey
- TT
- Republic of Trinidad and Tobago
- TTO
- Republic of Trinidad and Tobago
- TUN
- Tunisian Republic
- TUR
- Republic of Turkey
- TUV
- Tuvalu
- TV
- Tuvalu
- TW
- Republic of China (Taiwan)
- TWN
- Republic of China (Taiwan)
- TZ
- United Republic of Tanzania
- TZA
- United Republic of Tanzania
- UA
- Ukraine
- UG
- Republic of Uganda
- UGA
- Republic of Uganda
- UKR
- Ukraine
- UM
- United States Minor Outlying Islands
- UMI
- United States Minor Outlying Islands
- UNK
- Republic of Kosovo
- URY
- Oriental Republic of Uruguay
- US
- United States of America
- USA
- United States of America
- UY
- Oriental Republic of Uruguay
- UZ
- Republic of Uzbekistan
- UZB
- Republic of Uzbekistan
- VA
- Vatican City State
- VAT
- Vatican City State
- VC
- Saint Vincent and the Grenadines
- VCT
- Saint Vincent and the Grenadines
- VE
- Bolivarian Republic of Venezuela
- VEN
- Bolivarian Republic of Venezuela
- VG
- Virgin Islands
- VGB
- Virgin Islands
- VI
- Virgin Islands of the United States
- VIR
- Virgin Islands of the United States
- VN
- Socialist Republic of Vietnam
- VNM
- Socialist Republic of Vietnam
- VU
- Republic of Vanuatu
- VUT
- Republic of Vanuatu
- WF
- Territory of the Wallis and Futuna Islands
- WLF
- Territory of the Wallis and Futuna Islands
- WS
- Independent State of Samoa
- WSM
- Independent State of Samoa
- XK
- Republic of Kosovo
- YE
- Republic of Yemen
- YEM
- Republic of Yemen
- YT
- Department of Mayotte
- ZA
- Republic of South Africa
- ZAF
- Republic of South Africa
- ZM
- Republic of Zambia
- ZMB
- Republic of Zambia
- ZW
- Republic of Zimbabwe
- ZWE
- Republic of Zimbabwe