This repository contains a JSON file with data about countries around the world. Each country object in the JSON file includes various attributes that provide comprehensive information about the country. Below is an explanation of each attribute included in the country objects:
- alpha2: A two-letter country code based on the ISO 3166-1 standard. This is a short identifier for the country.
- alpha3: A three-letter country code based on the ISO 3166-1 standard. This is a longer identifier for the country.
- continent: The continent on which the country is located.
- country_code: The country calling code, which is used for international dialing.
- currency_code: The code of the country's official currency, based on the ISO 4217 standard
- languages: An array of ISO 639-1 codes representing the official languages of the country.
- spoken: An array of ISO 639-1 codes representing the languages commonly spoken in the country.
- names: An array of different names by which the country is known, including both the local name and any other widely recognized names.
- subregion: A more specific geographical region within the continent where the country is located.
- nationality: The demonym or term used to describe the people of the country.
- long_name: The official or formal name of the country.
- short_name: The common name of the country.
- flag: An object containing information about the country's flag, including:
- emoji: The flag emoji representing the country.
- unicode: The Unicode code points for the flag emoji.
- Below is an example of a JSON object for the country "Palestine":
{
"alpha2": "PS",
"alpha3": "PSE",
"continent": "Asia",
"country_code": "970",
"currency_code": "PLP",
"languages": [
"ar",
"he",
"en"
],
"spoken": [
"ar",
"he",
"en"
],
"names": [
"Palestine",
"فلسطين"
],
"subregion": "Western Asia",
"nationality": "Palestinian",
"long_name": "The State of Palestine",
"short_name": "Palestine",
"flag": {
"emoji": "🇵🇸",
"unicode": "U+1F1F5 U+1F1F8"
}
}