Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Info about countries, from a random Facebook page.
{
"countries": {
"US": "United States",
"CA": "Canada",
"GB": "United Kingdom",
"AR": "Argentina",
"AU": "Australia",
"AT": "Austria",
"BE": "Belgium",
"BR": "Brazil",
"CL": "Chile",
"CN": "China",
"CO": "Colombia",
"HR": "Croatia",
"DK": "Denmark",
"DO": "Dominican Republic",
"EG": "Egypt",
"FI": "Finland",
"FR": "France",
"DE": "Germany",
"GR": "Greece",
"HK": "Hong Kong",
"IN": "India",
"ID": "Indonesia",
"IE": "Ireland",
"IL": "Israel",
"IT": "Italy",
"JP": "Japan",
"JO": "Jordan",
"KW": "Kuwait",
"LB": "Lebanon",
"MY": "Malaysia",
"MX": "Mexico",
"NL": "Netherlands",
"NZ": "New Zealand",
"NG": "Nigeria",
"NO": "Norway",
"PK": "Pakistan",
"PA": "Panama",
"PE": "Peru",
"PH": "Philippines",
"PL": "Poland",
"RU": "Russia",
"SA": "Saudi Arabia",
"RS": "Serbia",
"SG": "Singapore",
"ZA": "South Africa",
"KR": "South Korea",
"ES": "Spain",
"SE": "Sweden",
"CH": "Switzerland",
"TW": "Taiwan",
"TH": "Thailand",
"TR": "Turkey",
"AE": "United Arab Emirates",
"VE": "Venezuela",
"PT": "Portugal",
"LU": "Luxembourg",
"BG": "Bulgaria",
"CZ": "Czech Republic",
"SI": "Slovenia",
"IS": "Iceland",
"SK": "Slovakia",
"LT": "Lithuania",
"TT": "Trinidad and Tobago",
"BD": "Bangladesh",
"LK": "Sri Lanka",
"KE": "Kenya",
"HU": "Hungary",
"MA": "Morocco",
"CY": "Cyprus",
"JM": "Jamaica",
"EC": "Ecuador",
"RO": "Romania",
"BO": "Bolivia",
"GT": "Guatemala",
"CR": "Costa Rica",
"QA": "Qatar",
"SV": "El Salvador",
"HN": "Honduras",
"NI": "Nicaragua",
"PY": "Paraguay",
"UY": "Uruguay",
"PR": "Puerto Rico",
"BA": "Bosnia and Herzegovina",
"PS": "Palestine",
"TN": "Tunisia",
"BH": "Bahrain",
"VN": "Vietnam",
"GH": "Ghana",
"MU": "Mauritius",
"UA": "Ukraine",
"MT": "Malta",
"BS": "The Bahamas",
"MV": "Maldives",
"OM": "Oman",
"MK": "Macedonia",
"LV": "Latvia",
"EE": "Estonia",
"IQ": "Iraq",
"DZ": "Algeria",
"AL": "Albania",
"NP": "Nepal",
"MO": "Macau",
"ME": "Montenegro",
"SN": "Senegal",
"GE": "Georgia",
"BN": "Brunei",
"UG": "Uganda",
"GP": "Guadeloupe",
"BB": "Barbados",
"AZ": "Azerbaijan",
"TZ": "Tanzania",
"LY": "Libya",
"MQ": "Martinique",
"CM": "Cameroon",
"BW": "Botswana",
"ET": "Ethiopia",
"KZ": "Kazakhstan",
"NA": "Namibia",
"MG": "Madagascar",
"NC": "New Caledonia",
"MD": "Moldova",
"FJ": "Fiji",
"BY": "Belarus",
"JE": "Jersey",
"GU": "Guam",
"YE": "Yemen",
"ZM": "Zambia",
"IM": "Isle Of Man",
"HT": "Haiti",
"KH": "Cambodia",
"AW": "Aruba",
"PF": "French Polynesia",
"AF": "Afghanistan",
"BM": "Bermuda",
"GY": "Guyana",
"AM": "Armenia",
"MW": "Malawi",
"AG": "Antigua",
"RW": "Rwanda",
"GG": "Guernsey",
"GM": "The Gambia",
"FO": "Faroe Islands",
"LC": "St. Lucia",
"KY": "Cayman Islands",
"BJ": "Benin",
"AD": "Andorra",
"GD": "Grenada",
"VI": "US Virgin Islands",
"BZ": "Belize",
"VC": "Saint Vincent and the Grenadines",
"MN": "Mongolia",
"MZ": "Mozambique",
"ML": "Mali",
"AO": "Angola",
"GF": "French Guiana",
"UZ": "Uzbekistan",
"DJ": "Djibouti",
"BF": "Burkina Faso",
"MC": "Monaco",
"TG": "Togo",
"GL": "Greenland",
"GA": "Gabon",
"GI": "Gibraltar",
"CD": "Democratic Republic of the Congo",
"KG": "Kyrgyzstan",
"PG": "Papua New Guinea",
"BT": "Bhutan",
"KN": "Saint Kitts and Nevis",
"SZ": "Swaziland",
"LS": "Lesotho",
"LA": "Laos",
"LI": "Liechtenstein",
"MP": "Northern Mariana Islands",
"SR": "Suriname",
"SC": "Seychelles",
"VG": "British Virgin Islands",
"TC": "Turks and Caicos Islands",
"DM": "Dominica",
"MR": "Mauritania",
"AX": "Aland Islands",
"SM": "San Marino",
"SL": "Sierra Leone",
"NE": "Niger",
"CG": "Republic of the Congo",
"AI": "Anguilla",
"YT": "Mayotte",
"CV": "Cape Verde",
"GN": "Guinea",
"TM": "Turkmenistan",
"BI": "Burundi",
"TJ": "Tajikistan",
"VU": "Vanuatu",
"SB": "Solomon Islands",
"ER": "Eritrea",
"WS": "Samoa",
"AS": "American Samoa",
"FK": "Falkland Islands",
"GQ": "Equatorial Guinea",
"TO": "Tonga",
"KM": "Comoros",
"PW": "Palau",
"FM": "Federated States of Micronesia",
"CF": "Central African Republic",
"SO": "Somalia",
"MH": "Marshall Islands",
"VA": "Vatican City",
"TD": "Chad",
"KI": "Kiribati",
"ST": "Sao Tome and Principe",
"TV": "Tuvalu",
"NR": "Nauru",
"RE": "R\u00e9union",
"LR": "Liberia",
"ZW": "Zimbabwe",
"CI": "C\u00f4te d'Ivoire",
"MM": "Myanmar",
"AN": "Netherlands Antilles",
"AQ": "Antarctica",
"BQ": "Bonaire, Sint Eustatius and Saba",
"BV": "Bouvet Island",
"IO": "British Indian Ocean Territory",
"CX": "Christmas Island",
"CC": "Cocos (Keeling) Islands",
"CK": "Cook Islands",
"CW": "Cura\u00e7ao",
"TF": "French Southern Territories",
"GW": "Guinea-Bissau",
"HM": "Heard Island and McDonald Islands",
"XK": "Kosovo",
"MS": "Montserrat",
"NU": "Niue",
"NF": "Norfolk Island",
"KP": "North Korea",
"PN": "Pitcairn",
"BL": "Saint Barth\u00e9lemy",
"SH": "Saint Helena",
"MF": "Saint Martin",
"PM": "Saint Pierre and Miquelon",
"SX": "Sint Maarten",
"GS": "South Georgia and the South Sandwich Islands",
"SS": "South Sudan",
"SJ": "Svalbard and Jan Mayen",
"TL": "Timor-Leste",
"TK": "Tokelau",
"UM": "United States Minor Outlying Islands",
"WF": "Wallis and Futuna",
"EH": "Western Sahara"
},
"countriesWithCities": ["US", "GB", "CA", "AU", "FR", "ES", "IT", "SW", "NO", "DK", "DE", "BE", "VE", "TR", "CO", "FI", "JP", "CL", "CH", "AR", "SE", "NL", "LE", "PT", "GR", "NZ", "IE", "ID", "MY", "TH", "VN", "PL", "CZ", "RO", "RS", "BO", "BR", "CR", "DO", "EC", "SV", "GT", "HN", "MX", "NI", "PA", "PY", "PE", "PR", "UY", "AT", "IL", "IN", "TW", "RU", "ES", "EG", "SA", "AE", "AT", "CH", "PH", "ZA", "KR", "UA", "BG", "HU", "NG"],
"countriesWithRegions": ["US", "CA", "AU", "GB", "JP", "ES", "BR", "IN", "FR", "DE", "MX", "AR", "CO", "KR", "TH", "IL", "IT", "NL", "SE", "NO", "CH", "AT", "IE"],
"countriesToCurrencies": {
"US": "USD",
"CA": "CAD",
"GB": "GBP",
"AF": "USD",
"AX": "USD",
"AL": "USD",
"DZ": "USD",
"AS": "USD",
"AD": "USD",
"AO": "USD",
"AI": "USD",
"AQ": "USD",
"AG": "USD",
"AR": "ARS",
"AM": "USD",
"AW": "USD",
"AU": "AUD",
"AT": "EUR",
"AZ": "USD",
"BH": "USD",
"BD": "USD",
"BB": "USD",
"BY": "USD",
"BE": "EUR",
"BZ": "USD",
"BJ": "USD",
"BM": "USD",
"BT": "USD",
"BO": "BOB",
"BQ": "USD",
"BA": "USD",
"BW": "USD",
"BV": "USD",
"BR": "BRL",
"IO": "USD",
"VG": "USD",
"BN": "USD",
"BG": "USD",
"BF": "USD",
"BI": "USD",
"KH": "USD",
"CM": "USD",
"CV": "USD",
"KY": "USD",
"CI": "USD",
"CF": "USD",
"TD": "USD",
"CL": "CLP",
"CN": "CNY",
"CX": "USD",
"CC": "USD",
"CO": "COP",
"KM": "USD",
"CK": "USD",
"CR": "CRC",
"HR": "USD",
"CU": "USD",
"CW": "USD",
"CY": "EUR",
"CZ": "CZK",
"CD": "USD",
"DK": "DKK",
"DJ": "USD",
"DM": "USD",
"DO": "USD",
"EC": "USD",
"EG": "USD",
"SV": "USD",
"GQ": "USD",
"ER": "USD",
"EE": "EUR",
"ET": "USD",
"FK": "USD",
"FO": "USD",
"FM": "USD",
"FJ": "USD",
"FI": "EUR",
"FR": "EUR",
"GF": "USD",
"PF": "USD",
"TF": "USD",
"GA": "USD",
"GE": "USD",
"DE": "EUR",
"GH": "USD",
"GI": "USD",
"GR": "EUR",
"GL": "USD",
"GD": "USD",
"GP": "USD",
"GU": "USD",
"GT": "GTQ",
"GG": "USD",
"GN": "USD",
"GW": "USD",
"GY": "USD",
"HT": "USD",
"HM": "USD",
"HN": "HNL",
"HK": "HKD",
"HU": "HUF",
"IS": "ISK",
"IN": "INR",
"ID": "IDR",
"IR": "USD",
"IQ": "USD",
"IE": "EUR",
"IM": "USD",
"IL": "ILS",
"IT": "EUR",
"JM": "USD",
"JP": "JPY",
"JE": "USD",
"JO": "USD",
"KZ": "USD",
"KE": "USD",
"KI": "USD",
"XK": "USD",
"KW": "USD",
"KG": "USD",
"LA": "USD",
"LV": "USD",
"LB": "USD",
"LS": "ZAR",
"LR": "USD",
"LY": "USD",
"LI": "USD",
"LT": "USD",
"LU": "EUR",
"MO": "MOP",
"MK": "USD",
"MG": "USD",
"MW": "USD",
"MY": "MYR",
"MV": "USD",
"ML": "USD",
"MT": "EUR",
"MH": "USD",
"MQ": "USD",
"MR": "USD",
"MU": "USD",
"YT": "USD",
"MX": "MXN",
"MD": "USD",
"MC": "EUR",
"MN": "USD",
"ME": "USD",
"MS": "USD",
"MA": "USD",
"MZ": "USD",
"MM": "USD",
"NA": "ZAR",
"NR": "USD",
"NP": "USD",
"NL": "EUR",
"AN": "USD",
"NC": "USD",
"NZ": "NZD",
"NI": "NIO",
"NE": "USD",
"NG": "USD",
"NU": "USD",
"NF": "USD",
"KP": "USD",
"MP": "USD",
"NO": "NOK",
"OM": "USD",
"PK": "USD",
"PW": "USD",
"PS": "USD",
"PA": "USD",
"PG": "USD",
"PY": "PYG",
"PE": "PEN",
"PH": "PHP",
"PN": "USD",
"PL": "PLN",
"PT": "EUR",
"PR": "USD",
"QA": "QAR",
"RE": "USD",
"CG": "USD",
"RO": "RON",
"RU": "RUB",
"RW": "USD",
"BL": "USD",
"SH": "USD",
"KN": "USD",
"MF": "USD",
"PM": "USD",
"VC": "USD",
"WS": "USD",
"SM": "USD",
"ST": "USD",
"SA": "SAR",
"SN": "USD",
"RS": "USD",
"SC": "USD",
"SL": "USD",
"SG": "SGD",
"SX": "USD",
"SK": "EUR",
"SI": "EUR",
"SB": "USD",
"SO": "USD",
"ZA": "ZAR",
"GS": "USD",
"KR": "KRW",
"SS": "USD",
"ES": "EUR",
"LK": "USD",
"LC": "USD",
"SD": "USD",
"SR": "USD",
"SJ": "USD",
"SZ": "ZAR",
"SE": "SEK",
"CH": "CHF",
"SY": "USD",
"TW": "TWD",
"TJ": "USD",
"TZ": "USD",
"TH": "THB",
"BS": "USD",
"GM": "USD",
"TL": "USD",
"TG": "USD",
"TK": "USD",
"TO": "USD",
"TT": "USD",
"TN": "USD",
"TR": "TRY",
"TM": "USD",
"TC": "USD",
"TV": "USD",
"UG": "USD",
"UA": "USD",
"AE": "AED",
"UM": "USD",
"UY": "UYU",
"VI": "USD",
"UZ": "USD",
"VU": "USD",
"VA": "USD",
"VE": "VEF",
"VN": "VND",
"WF": "USD",
"EH": "USD",
"YE": "USD",
"ZM": "USD",
"ZW": "USD"
},
"embargoedCountries": ["SD", "CU", "IR", "SY"],
"legalDrinkingAges": {
"US": 21,
"CA": 19,
"GB": 18,
"AR": 18,
"AU": 18,
"AT": 18,
"BE": 18,
"BR": 18,
"CL": 18,
"CN": 18,
"CO": 18,
"HR": 18,
"DK": 18,
"DO": 18,
"EG": 0,
"FI": 18,
"FR": 18,
"DE": 18,
"GR": 18,
"HK": 18,
"IN": 25,
"ID": 18,
"IE": 18,
"IL": 18,
"IT": 18,
"JP": 20,
"JO": 18,
"KW": 0,
"LB": 18,
"MY": 18,
"MX": 18,
"NL": 18,
"NZ": 18,
"NG": 18,
"NO": 0,
"PK": 18,
"PA": 18,
"PE": 18,
"PH": 18,
"PL": 18,
"RU": 18,
"SA": 0,
"RS": 18,
"SG": 18,
"ZA": 18,
"KR": 19,
"ES": 18,
"SE": 25,
"CH": 18,
"TW": 18,
"TH": 20,
"TR": 24,
"AE": 0,
"VE": 18,
"PT": 18,
"LU": 18,
"BG": 18,
"CZ": 18,
"SI": 18,
"IS": 20,
"SK": 18,
"LT": 18,
"TT": 18,
"BD": 0,
"LK": 21,
"KE": 18,
"HU": 18,
"MA": 18,
"CY": 18,
"JM": 18,
"EC": 18,
"RO": 18,
"BO": 18,
"GT": 18,
"CR": 18,
"QA": 18,
"SV": 18,
"HN": 18,
"NI": 19,
"PY": 20,
"UY": 18,
"PR": 18,
"BA": 18,
"PS": 18,
"TN": 18,
"BH": 18,
"VN": 18,
"GH": 18,
"MU": 18,
"UA": 18,
"MT": 18,
"BS": 18,
"MV": 18,
"OM": 18,
"MK": 18,
"LV": 18,
"EE": 18,
"IQ": 18,
"DZ": 18,
"AL": 18,
"NP": 18,
"MO": 18,
"ME": 18,
"SN": 18,
"GE": 18,
"BN": 0,
"UG": 18,
"GP": 18,
"BB": 18,
"AZ": 18,
"TZ": 18,
"LY": 18,
"MQ": 18,
"CM": 21,
"BW": 18,
"ET": 18,
"KZ": 18,
"NA": 18,
"MG": 18,
"NC": 18,
"MD": 18,
"FJ": 18,
"BY": 18,
"JE": 18,
"GU": 18,
"YE": 0,
"ZM": 18,
"IM": 18,
"HT": 18,
"KH": 18,
"AW": 18,
"PF": 18,
"AF": 0,
"BM": 18,
"GY": 18,
"AM": 18,
"MW": 18,
"AG": 18,
"RW": 18,
"GG": 18,
"GM": 18,
"FO": 18,
"LC": 18,
"KY": 18,
"BJ": 18,
"AD": 18,
"GD": 18,
"VI": 18,
"BZ": 18,
"VC": 18,
"MN": 18,
"MZ": 18,
"ML": 18,
"AO": 18,
"GF": 18,
"UZ": 18,
"DJ": 18,
"BF": 18,
"MC": 18,
"TG": 18,
"GL": 18,
"GA": 18,
"GI": 18,
"CD": 18,
"KG": 18,
"PG": 18,
"BT": 18,
"KN": 18,
"SZ": 18,
"LS": 18,
"LA": 18,
"LI": 18,
"MP": 18,
"SR": 18,
"SC": 18,
"VG": 18,
"TC": 18,
"DM": 18,
"MR": 18,
"AX": 18,
"SM": 18,
"SL": 18,
"NE": 18,
"CG": 18,
"AI": 18,
"YT": 18,
"CV": 18,
"GN": 18,
"TM": 18,
"BI": 18,
"TJ": 18,
"VU": 18,
"SB": 21,
"ER": 18,
"WS": 18,
"AS": 18,
"FK": 18,
"GQ": 18,
"TO": 18,
"KM": 18,
"PW": 21,
"FM": 21,
"CF": 18,
"SO": 18,
"MH": 18,
"VA": 18,
"TD": 18,
"KI": 18,
"ST": 18,
"TV": 18,
"NR": 18,
"RE": 18,
"LR": 18,
"ZW": 18,
"CI": 18,
"MM": 18,
"AN": 18,
"AQ": 18,
"BQ": 18,
"BV": 18,
"IO": 18,
"CX": 18,
"CC": 18,
"CK": 18,
"CW": 18,
"TF": 18,
"GW": 18,
"HM": 18,
"XK": 18,
"MS": 18,
"NU": 18,
"NF": 18,
"KP": 18,
"PN": 18,
"BL": 18,
"SH": 18,
"MF": 18,
"PM": 18,
"SX": 18,
"GS": 18,
"SS": 18,
"SJ": 18,
"TL": 18,
"TK": 18,
"UM": 18,
"WF": 18,
"EH": 18
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.