Commit 11f00d29 authored by samayo's avatar samayo
Browse files

Merge branch 'master' of https://github.com/samayo/country-json

parents 88dec678 af87c431
......@@ -30,7 +30,7 @@ $ git clone https://github.com/samayo/country-json
- [Country by Domain Tld](https://github.com/samayo/country-json/blob/master/src/country-by-domain-tld.json)
- [Country by Elevation](https://github.com/samayo/country-json/blob/master/src/country-by-elevation.json)
- [Country by Flag](https://github.com/samayo/country-json/blob/master/src/country-by-flag.json)
- [Country by Geo Coordinates](https://github.com/samayo/country-json/blob/master/src/country-by-geo-coordinates.json)
- [Country by Geo Coordinates](https://github.com/samayo/country-json/blob/master/src/country-by-geo-cordinations.json)
- [Country by Government Type](https://github.com/samayo/country-json/blob/master/src/country-by-government-type.json)
- [Country by Independence Date](https://github.com/samayo/country-json/blob/master/src/country-by-independence-date.json)
- [Country by Iso Numeric](https://github.com/samayo/country-json/blob/master/src/country-by-iso-numeric.json)
......@@ -46,11 +46,10 @@ $ git clone https://github.com/samayo/country-json
- [Country by Yearly Average Temperature](https://github.com/samayo/country-json/blob/master/src/country-by-yearly-average-temperature.json)
### Usage
Examples using various languages one how display/integrate the data.
Examples using various languages on how display/integrate the data.
##### PHP
```php
<?php
```php
$file = file_get_contents("./src/country-capital-city.json");
foreach (json_decode($file, true) as $key => $value) {
......@@ -129,7 +128,7 @@ func main() {
### Contribution
Feel free to send a PR to fix, update or add new entry anytime.
For non-minor changes about country (ex: name, languages, city, independence date..), please include a source, if possible.
For non-minor changes (ex: country: name, language, city, independence date..), please include a source, if possible.
### Resources
- [Processing country-json data with ramda-cli](https://github.com/raine/ramda-cli/wiki/Cookbook#playing-around-with-countryjson-data)
......@@ -73,7 +73,7 @@
{"country" : "Falkland Islands", "abbreviation" : "FK"},
{"country" : "France", "abbreviation" : "FR"},
{"country" : "Faroe Islands", "abbreviation" : "FO"},
{"country" : "Micronesia, Federated States of", "abbreviation" : "FM"},
{"country" : "Federated States of Micronesia", "abbreviation" : "FM"},
{"country" : "Gabon", "abbreviation" : "GA"},
{"country" : "United Kingdom", "abbreviation" : "GB"},
{"country" : "Georgia", "abbreviation" : "GE"},
......@@ -109,7 +109,7 @@
{"country" : "Jamaica", "abbreviation" : "JM"},
{"country" : "Jordan", "abbreviation" : "JO"},
{"country" : "Japan", "abbreviation" : "JP"},
{"country" : "Kazakstan", "abbreviation" : "KZ"},
{"country" : "Kazakhstan", "abbreviation" : "KZ"},
{"country" : "Kenya", "abbreviation" : "KE"},
{"country" : "Kyrgyzstan", "abbreviation" : "KG"},
{"country" : "Cambodia", "abbreviation" : "KH"},
......@@ -227,8 +227,8 @@
{"country" : "Holy See (Vatican City State)", "abbreviation" : "VA"},
{"country" : "Saint Vincent and the Grenadines", "abbreviation" : "VC"},
{"country" : "Venezuela", "abbreviation" : "VE"},
{"country" : "Virgin Islands,British", "abbreviation" : "VG"},
{"country" : "Virgin Islands,U.S.", "abbreviation" : "VI"},
{"country" : "British Virgin Islands", "abbreviation" : "VG"},
{"country" : "United States Virgin Islands", "abbreviation" : "VI"},
{"country" : "Vietnam", "abbreviation" : "VN"},
{"country" : "Vanuatu", "abbreviation" : "VU"},
{"country" : "Wallis and Futuna", "abbreviation" : "WF"},
......
......@@ -28,7 +28,7 @@
{"country" : "Bosnia and Herzegovina","city" : "Sarajevo"},
{"country" : "Botswana","city" : "Gaborone"},
{"country" : "Bouvet Island","city" : null},
{"country" : "Brazil","city" : "Bras"},
{"country" : "Brazil","city" : "Brasília"},
{"country" : "British Indian Ocean Territory","city" : null},
{"country" : "Brunei","city" : "Bandar Seri Begawan"},
{"country" : "Bulgaria","city" : "Sofia"},
......@@ -94,14 +94,14 @@
{"country" : "Guyana","city" : "Georgetown"},
{"country" : "Haiti","city" : "Port-au-Prince"},
{"country" : "Heard Island and McDonald Islands","city" : null},
{"country" : "Holy See (Vatican city State)","city" : "Citt"},
{"country" : "Holy See (Vatican City State)","city" : "Citt"},
{"country" : "Honduras","city" : "Tegucigalpa"},
{"country" : "Hong Kong","city" : "Victoria"},
{"country" : "Hungary","city" : "Budapest"},
{"country" : "Iceland","city" : "Reykjav"},
{"country" : "India","city" : "New Delhi"},
{"country" : "Indonesia","city" : "Jakarta"},
{"country" : "Iran","city" : "Teheran"},
{"country" : "Iran","city" : "Tehran"},
{"country" : "Iraq","city" : "Baghdad"},
{"country" : "Ireland","city" : "Dublin"},
{"country" : "Israel","city" : "Jerusalem"},
......
......@@ -159,7 +159,7 @@
{"country" : "Niue" , "currency_code" : "NZD"},
{"country" : "Norfolk Island" , "currency_code" : "AUD"},
{"country" : "North Korea" , "currency_code" : "KPW"},
{"country" : "Northern Mariana Islands US Dollar" ,"currency_code" : "USD"},
{"country" : "Northern Mariana Islands" ,"currency_code" : "USD"},
{"country" : "Norway" , "currency_code" : "NOK"},
{"country" : "Oman" , "currency_code" : "OMR"},
{"country" : "Pakistan" , "currency_code" : "PKR"},
......@@ -180,10 +180,10 @@
{"country" : "Russia" , "currency_code" : "RUB"},
{"country" : "Rwanda" , "currency_code" : "RWF"},
{"country" : "Saint Helena" ,"currency_code" : "SHP"},
{"country" : "Saint Kitts &amp; Nevis Anguilla" ,"currency_code" : "XCD"},
{"country" : "Saint Kitts and Nevis Anguilla" ,"currency_code" : "XCD"},
{"country" : "Saint Lucia" ,"currency_code" : "XCD"},
{"country" : "Saint Pierre and Miquelon", "currency_code" : "EUR"},
{"country" : "Saint Vincent &amp; Grenadines" ,"currency_code" : "XCD"},
{"country" : "Saint Vincent and the Grenadines" ,"currency_code" : "XCD"},
{"country" : "Samoa" ,"currency_code" : "WST"},
{"country" : "San Marino" , "currency_code" : "EUR"},
{"country" : "Sao Tome and Principe", "currency_code" : "STD"},
......@@ -199,7 +199,7 @@
{"country" : "Somalia" , "currency_code" : "SOS"},
{"country" : "South Africa" , "currency_code" : "ZAR"},
{"country" : "South Korea" , "currency_code" : "KRW"},
{"country" : "South Georgia &amp; South Sandwich Islands" ,"currency_code" : "GBP"},
{"country" : "South Georgia and the South Sandwich Islands" ,"currency_code" : "GBP"},
{"country" : "South Sudan" , "currency_code" : "SSP"},
{"country" : "Spain" , "currency_code" : "EUR"},
{"country" : "Sri Lanka" , "currency_code" : "LKR"},
......
......@@ -159,7 +159,7 @@
{"country" : "Niue" , "currency_name" : "New Zealand Dollar"},
{"country" : "Norfolk Island" , "currency_name" : "Australian Dollar"},
{"country" : "North Korea" , "currency_name" : "North Korean Won"},
{"country" : "Northern Mariana Islands US Dollar"},
{"country" : "Northern Mariana Islands" , "currency_name" : "US Dollar"},
{"country" : "Norway" , "currency_name" : "Norwegian Krone"},
{"country" : "Oman" , "currency_name" : "Omani Rial"},
{"country" : "Pakistan" , "currency_name" : "Pakistan Rupee"},
......@@ -180,10 +180,10 @@
{"country" : "Russia" , "currency_name" : "Russian Ruble"},
{"country" : "Rwanda" , "currency_name" : "Rwanda Franc"},
{"country" : "Saint Helena" , "currency_name" : "St. Helena Pound"},
{"country" : "Saint Kitts &amp; Nevis Anguilla" ,"currency_name" : "East Caribbean Dollar"},
{"country" : "Saint Kitts and Nevis Anguilla" ,"currency_name" : "East Caribbean Dollar"},
{"country" : "Saint Lucia" ,"currency_name" : "East Caribbean Dollar"},
{"country" : "Saint Pierre and Miquelon" , "currency_name" : "", "currency_name" : " Euro"},
{"country" : "Saint Vincent &amp; Grenadines" ,"currency_name" : "East Caribbean Dollar"},
{"country" : "Saint Vincent and the Grenadines" ,"currency_name" : "East Caribbean Dollar"},
{"country" : "Samoa" ,"currency_name" : "Samoan Tala"},
{"country" : "San Marino" , "currency_name" : "Euro"},
{"country" : "Sao Tome and Principe", "currency_name" : " Dobra"},
......@@ -199,7 +199,7 @@
{"country" : "Somalia" , "currency_name" : "Somali Shilling"},
{"country" : "South Africa" , "currency_name" : "South African Rand"},
{"country" : "South Korea" , "currency_name" : "Korean Won"},
{"country" : "South Georgia &amp; South Sandwich Islands" ,"currency_name" : "Pound Sterling"},
{"country" : "South Georgia and the South Sandwich Islands" ,"currency_name" : "Pound Sterling"},
{"country" : "South Sudan" , "currency_name" : "South Sudan Pound"},
{"country" : "Spain" , "currency_name" : "Euro"},
{"country" : "Sri Lanka" , "currency_name" : "Sri Lanka Rupee"},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment