From b6db79cdb377b6e9a12ae66b53c319c6dc2b7dbe Mon Sep 17 00:00:00 2001 From: Isaiah Clifford Opoku Date: Tue, 28 May 2024 12:51:28 +0000 Subject: [PATCH 1/5] Updating the README and MAUI Project --- CONTRIBUTING.md | 2 +- README.md | 510 +++++++++--------- sample/CountryData.Sample.Console/Program.cs | 12 +- .../CountryData.Sample.MAUI/MainPage.xaml | 9 +- .../ViewModels/MainViewModel.cs | 5 - .../Controllers/CountryController.cs | 28 +- sample/CountryData.Sample.Web.API/Program.cs | 2 +- .../CountryData.UnitTests.csproj | 1 + 8 files changed, 293 insertions(+), 276 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 65ef2c8..b571182 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ For feature requests and enhancements, open an issue first to discuss the change Pull requests are the best way to propose changes to the project. They allow us to review your modifications before merging them into the main branch. Please follow these steps to create a pull request: -1. Fork the Project Repository. +1. Fork the Project Repository, *Note* Fork from `develop` branch. 2. Create a new branch for your changes. 3. Commit your changes to the new branch. 4. Push your branch to GitHub. diff --git a/README.md b/README.md index fd4876c..c054dd4 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ A simple cross-platform offline .NET library for getting Global Country Data wit This production-grade package can be used with .NET Core Webapi, .NET console applications, .NET Maui, Xamarin, Blazor, and mobile apps. It is compatible with both .NET Core and .NET Framework projects. -For detailed instructions on how to use the library, please refer to our [documentation](./doc/README.md). +For detailed instructions on how to use the library, please refer to our [documentation](../CountryData.Net/docs/README.md). For a quick start, you can check out the `Simple code` folder provided in the repository. @@ -89,259 +89,271 @@ For a quick start, you can check out the `Simple code` folder provided in the ``` +This example demonstrates how to retrieve countries with a specific phone code using the `GetCountriesByPhoneCode` method. In this case, we're fetching all countries with the phone code "+1". + +```csharp +var countriesWithPhoneCode = helper.GetCountriesByPhoneCode("+233"); +foreach (var country in countriesWithPhoneCode) +{ + Console.WriteLine(country.NameCountryName); +} + +``` + + #### List of supported ISO-3166-1 country codes, their codepoint pairs and Emoji Flags. |ISO|Emoji|Unicode|Name|PhoneCode |--- |--- |--- |--- |------| -|AD|๐Ÿ‡ฆ๐Ÿ‡ฉ|U+1F1E6 U+1F1E9|Andorra| -|AE|๐Ÿ‡ฆ๐Ÿ‡ช|U+1F1E6 U+1F1EA|United Arab Emirates| -|AF|๐Ÿ‡ฆ๐Ÿ‡ซ|U+1F1E6 U+1F1EB|Afghanistan| -|AG|๐Ÿ‡ฆ๐Ÿ‡ฌ|U+1F1E6 U+1F1EC|Antigua and Barbuda| -|AI|๐Ÿ‡ฆ๐Ÿ‡ฎ|U+1F1E6 U+1F1EE|Anguilla| -|AL|๐Ÿ‡ฆ๐Ÿ‡ฑ|U+1F1E6 U+1F1F1|Albania| -|AM|๐Ÿ‡ฆ๐Ÿ‡ฒ|U+1F1E6 U+1F1F2|Armenia| -|AO|๐Ÿ‡ฆ๐Ÿ‡ด|U+1F1E6 U+1F1F4|Angola| -|AQ|๐Ÿ‡ฆ๐Ÿ‡ถ|U+1F1E6 U+1F1F6|Antarctica| -|AR|๐Ÿ‡ฆ๐Ÿ‡ท|U+1F1E6 U+1F1F7|Argentina| -|AS|๐Ÿ‡ฆ๐Ÿ‡ธ|U+1F1E6 U+1F1F8|American Samoa| -|AT|๐Ÿ‡ฆ๐Ÿ‡น|U+1F1E6 U+1F1F9|Austria| -|AU|๐Ÿ‡ฆ๐Ÿ‡บ|U+1F1E6 U+1F1FA|Australia| -|AW|๐Ÿ‡ฆ๐Ÿ‡ผ|U+1F1E6 U+1F1FC|Aruba| -|AX|๐Ÿ‡ฆ๐Ÿ‡ฝ|U+1F1E6 U+1F1FD|ร…land Islands| -|AZ|๐Ÿ‡ฆ๐Ÿ‡ฟ|U+1F1E6 U+1F1FF|Azerbaijan| -|BA|๐Ÿ‡ง๐Ÿ‡ฆ|U+1F1E7 U+1F1E6|Bosnia and Herzegovina| -|BB|๐Ÿ‡ง๐Ÿ‡ง|U+1F1E7 U+1F1E7|Barbados| -|BD|๐Ÿ‡ง๐Ÿ‡ฉ|U+1F1E7 U+1F1E9|Bangladesh| -|BE|๐Ÿ‡ง๐Ÿ‡ช|U+1F1E7 U+1F1EA|Belgium| -|BF|๐Ÿ‡ง๐Ÿ‡ซ|U+1F1E7 U+1F1EB|Burkina Faso| -|BG|๐Ÿ‡ง๐Ÿ‡ฌ|U+1F1E7 U+1F1EC|Bulgaria| -|BH|๐Ÿ‡ง๐Ÿ‡ญ|U+1F1E7 U+1F1ED|Bahrain| -|BI|๐Ÿ‡ง๐Ÿ‡ฎ|U+1F1E7 U+1F1EE|Burundi| -|BJ|๐Ÿ‡ง๐Ÿ‡ฏ|U+1F1E7 U+1F1EF|Benin| -|BL|๐Ÿ‡ง๐Ÿ‡ฑ|U+1F1E7 U+1F1F1|Saint Barthรฉlemy| -|BM|๐Ÿ‡ง๐Ÿ‡ฒ|U+1F1E7 U+1F1F2|Bermuda| -|BN|๐Ÿ‡ง๐Ÿ‡ณ|U+1F1E7 U+1F1F3|Brunei Darussalam| -|BO|๐Ÿ‡ง๐Ÿ‡ด|U+1F1E7 U+1F1F4|Bolivia| -|BQ|๐Ÿ‡ง๐Ÿ‡ถ|U+1F1E7 U+1F1F6|Bonaire, Sint Eustatius and Saba| -|BR|๐Ÿ‡ง๐Ÿ‡ท|U+1F1E7 U+1F1F7|Brazil| -|BS|๐Ÿ‡ง๐Ÿ‡ธ|U+1F1E7 U+1F1F8|Bahamas| -|BT|๐Ÿ‡ง๐Ÿ‡น|U+1F1E7 U+1F1F9|Bhutan| -|BV|๐Ÿ‡ง๐Ÿ‡ป|U+1F1E7 U+1F1FB|Bouvet Island| -|BW|๐Ÿ‡ง๐Ÿ‡ผ|U+1F1E7 U+1F1FC|Botswana| -|BY|๐Ÿ‡ง๐Ÿ‡พ|U+1F1E7 U+1F1FE|Belarus| -|BZ|๐Ÿ‡ง๐Ÿ‡ฟ|U+1F1E7 U+1F1FF|Belize| -|CA|๐Ÿ‡จ๐Ÿ‡ฆ|U+1F1E8 U+1F1E6|Canada| -|CC|๐Ÿ‡จ๐Ÿ‡จ|U+1F1E8 U+1F1E8|Cocos (Keeling) Islands| -|CD|๐Ÿ‡จ๐Ÿ‡ฉ|U+1F1E8 U+1F1E9|Congo| -|CF|๐Ÿ‡จ๐Ÿ‡ซ|U+1F1E8 U+1F1EB|Central African Republic| -|CG|๐Ÿ‡จ๐Ÿ‡ฌ|U+1F1E8 U+1F1EC|Congo| -|CH|๐Ÿ‡จ๐Ÿ‡ญ|U+1F1E8 U+1F1ED|Switzerland| -|CI|๐Ÿ‡จ๐Ÿ‡ฎ|U+1F1E8 U+1F1EE|Cรดte D'Ivoire| -|CK|๐Ÿ‡จ๐Ÿ‡ฐ|U+1F1E8 U+1F1F0|Cook Islands| -|CL|๐Ÿ‡จ๐Ÿ‡ฑ|U+1F1E8 U+1F1F1|Chile| -|CM|๐Ÿ‡จ๐Ÿ‡ฒ|U+1F1E8 U+1F1F2|Cameroon| -|CN|๐Ÿ‡จ๐Ÿ‡ณ|U+1F1E8 U+1F1F3|China| -|CO|๐Ÿ‡จ๐Ÿ‡ด|U+1F1E8 U+1F1F4|Colombia| -|CR|๐Ÿ‡จ๐Ÿ‡ท|U+1F1E8 U+1F1F7|Costa Rica| -|CU|๐Ÿ‡จ๐Ÿ‡บ|U+1F1E8 U+1F1FA|Cuba| -|CV|๐Ÿ‡จ๐Ÿ‡ป|U+1F1E8 U+1F1FB|Cape Verde| -|CW|๐Ÿ‡จ๐Ÿ‡ผ|U+1F1E8 U+1F1FC|Curaรงao| -|CX|๐Ÿ‡จ๐Ÿ‡ฝ|U+1F1E8 U+1F1FD|Christmas Island| -|CY|๐Ÿ‡จ๐Ÿ‡พ|U+1F1E8 U+1F1FE|Cyprus| -|CZ|๐Ÿ‡จ๐Ÿ‡ฟ|U+1F1E8 U+1F1FF|Czech Republic| -|DE|๐Ÿ‡ฉ๐Ÿ‡ช|U+1F1E9 U+1F1EA|Germany| -|DJ|๐Ÿ‡ฉ๐Ÿ‡ฏ|U+1F1E9 U+1F1EF|Djibouti| -|DK|๐Ÿ‡ฉ๐Ÿ‡ฐ|U+1F1E9 U+1F1F0|Denmark| -|DM|๐Ÿ‡ฉ๐Ÿ‡ฒ|U+1F1E9 U+1F1F2|Dominica| -|DO|๐Ÿ‡ฉ๐Ÿ‡ด|U+1F1E9 U+1F1F4|Dominican Republic| -|DZ|๐Ÿ‡ฉ๐Ÿ‡ฟ|U+1F1E9 U+1F1FF|Algeria| -|EC|๐Ÿ‡ช๐Ÿ‡จ|U+1F1EA U+1F1E8|Ecuador| -|EE|๐Ÿ‡ช๐Ÿ‡ช|U+1F1EA U+1F1EA|Estonia| -|EG|๐Ÿ‡ช๐Ÿ‡ฌ|U+1F1EA U+1F1EC|Egypt| -|EH|๐Ÿ‡ช๐Ÿ‡ญ|U+1F1EA U+1F1ED|Western Sahara| -|ER|๐Ÿ‡ช๐Ÿ‡ท|U+1F1EA U+1F1F7|Eritrea| -|ES|๐Ÿ‡ช๐Ÿ‡ธ|U+1F1EA U+1F1F8|Spain| -|ET|๐Ÿ‡ช๐Ÿ‡น|U+1F1EA U+1F1F9|Ethiopia| -|FI|๐Ÿ‡ซ๐Ÿ‡ฎ|U+1F1EB U+1F1EE|Finland| -|FJ|๐Ÿ‡ซ๐Ÿ‡ฏ|U+1F1EB U+1F1EF|Fiji| -|FK|๐Ÿ‡ซ๐Ÿ‡ฐ|U+1F1EB U+1F1F0|Falkland Islands (Malvinas)| -|FM|๐Ÿ‡ซ๐Ÿ‡ฒ|U+1F1EB U+1F1F2|Micronesia| -|FO|๐Ÿ‡ซ๐Ÿ‡ด|U+1F1EB U+1F1F4|Faroe Islands| -|FR|๐Ÿ‡ซ๐Ÿ‡ท|U+1F1EB U+1F1F7|France| -|GA|๐Ÿ‡ฌ๐Ÿ‡ฆ|U+1F1EC U+1F1E6|Gabon| -|GB|๐Ÿ‡ฌ๐Ÿ‡ง|U+1F1EC U+1F1E7|United Kingdom| -|GD|๐Ÿ‡ฌ๐Ÿ‡ฉ|U+1F1EC U+1F1E9|Grenada| -|GE|๐Ÿ‡ฌ๐Ÿ‡ช|U+1F1EC U+1F1EA|Georgia| -|GF|๐Ÿ‡ฌ๐Ÿ‡ซ|U+1F1EC U+1F1EB|French Guiana| -|GG|๐Ÿ‡ฌ๐Ÿ‡ฌ|U+1F1EC U+1F1EC|Guernsey| -|GH|๐Ÿ‡ฌ๐Ÿ‡ญ|U+1F1EC U+1F1ED|Ghana| -|GI|๐Ÿ‡ฌ๐Ÿ‡ฎ|U+1F1EC U+1F1EE|Gibraltar| -|GL|๐Ÿ‡ฌ๐Ÿ‡ฑ|U+1F1EC U+1F1F1|Greenland| -|GM|๐Ÿ‡ฌ๐Ÿ‡ฒ|U+1F1EC U+1F1F2|Gambia| -|GN|๐Ÿ‡ฌ๐Ÿ‡ณ|U+1F1EC U+1F1F3|Guinea| -|GP|๐Ÿ‡ฌ๐Ÿ‡ต|U+1F1EC U+1F1F5|Guadeloupe| -|GQ|๐Ÿ‡ฌ๐Ÿ‡ถ|U+1F1EC U+1F1F6|Equatorial Guinea| -|GR|๐Ÿ‡ฌ๐Ÿ‡ท|U+1F1EC U+1F1F7|Greece| -|GS|๐Ÿ‡ฌ๐Ÿ‡ธ|U+1F1EC U+1F1F8|South Georgia| -|GT|๐Ÿ‡ฌ๐Ÿ‡น|U+1F1EC U+1F1F9|Guatemala| -|GU|๐Ÿ‡ฌ๐Ÿ‡บ|U+1F1EC U+1F1FA|Guam| -|GW|๐Ÿ‡ฌ๐Ÿ‡ผ|U+1F1EC U+1F1FC|Guinea-Bissau| -|GY|๐Ÿ‡ฌ๐Ÿ‡พ|U+1F1EC U+1F1FE|Guyana| -|HK|๐Ÿ‡ญ๐Ÿ‡ฐ|U+1F1ED U+1F1F0|Hong Kong| -|HM|๐Ÿ‡ญ๐Ÿ‡ฒ|U+1F1ED U+1F1F2|Heard Island and Mcdonald Islands| -|HN|๐Ÿ‡ญ๐Ÿ‡ณ|U+1F1ED U+1F1F3|Honduras| -|HR|๐Ÿ‡ญ๐Ÿ‡ท|U+1F1ED U+1F1F7|Croatia| -|HT|๐Ÿ‡ญ๐Ÿ‡น|U+1F1ED U+1F1F9|Haiti| -|HU|๐Ÿ‡ญ๐Ÿ‡บ|U+1F1ED U+1F1FA|Hungary| -|ID|๐Ÿ‡ฎ๐Ÿ‡ฉ|U+1F1EE U+1F1E9|Indonesia| -|IE|๐Ÿ‡ฎ๐Ÿ‡ช|U+1F1EE U+1F1EA|Ireland| -|IL|๐Ÿ‡ฎ๐Ÿ‡ฑ|U+1F1EE U+1F1F1|Israel| -|IM|๐Ÿ‡ฎ๐Ÿ‡ฒ|U+1F1EE U+1F1F2|Isle of Man| -|IN|๐Ÿ‡ฎ๐Ÿ‡ณ|U+1F1EE U+1F1F3|India| -|IO|๐Ÿ‡ฎ๐Ÿ‡ด|U+1F1EE U+1F1F4|British Indian Ocean Territory| -|IQ|๐Ÿ‡ฎ๐Ÿ‡ถ|U+1F1EE U+1F1F6|Iraq| -|IR|๐Ÿ‡ฎ๐Ÿ‡ท|U+1F1EE U+1F1F7|Iran| -|IS|๐Ÿ‡ฎ๐Ÿ‡ธ|U+1F1EE U+1F1F8|Iceland| -|IT|๐Ÿ‡ฎ๐Ÿ‡น|U+1F1EE U+1F1F9|Italy| -|JE|๐Ÿ‡ฏ๐Ÿ‡ช|U+1F1EF U+1F1EA|Jersey| -|JM|๐Ÿ‡ฏ๐Ÿ‡ฒ|U+1F1EF U+1F1F2|Jamaica| -|JO|๐Ÿ‡ฏ๐Ÿ‡ด|U+1F1EF U+1F1F4|Jordan| -|JP|๐Ÿ‡ฏ๐Ÿ‡ต|U+1F1EF U+1F1F5|Japan| -|KE|๐Ÿ‡ฐ๐Ÿ‡ช|U+1F1F0 U+1F1EA|Kenya| -|KG|๐Ÿ‡ฐ๐Ÿ‡ฌ|U+1F1F0 U+1F1EC|Kyrgyzstan| -|KH|๐Ÿ‡ฐ๐Ÿ‡ญ|U+1F1F0 U+1F1ED|Cambodia| -|KI|๐Ÿ‡ฐ๐Ÿ‡ฎ|U+1F1F0 U+1F1EE|Kiribati| -|KM|๐Ÿ‡ฐ๐Ÿ‡ฒ|U+1F1F0 U+1F1F2|Comoros| -|KN|๐Ÿ‡ฐ๐Ÿ‡ณ|U+1F1F0 U+1F1F3|Saint Kitts and Nevis| -|KP|๐Ÿ‡ฐ๐Ÿ‡ต|U+1F1F0 U+1F1F5|North Korea| -|KR|๐Ÿ‡ฐ๐Ÿ‡ท|U+1F1F0 U+1F1F7|South Korea| -|KW|๐Ÿ‡ฐ๐Ÿ‡ผ|U+1F1F0 U+1F1FC|Kuwait| -|KY|๐Ÿ‡ฐ๐Ÿ‡พ|U+1F1F0 U+1F1FE|Cayman Islands| -|KZ|๐Ÿ‡ฐ๐Ÿ‡ฟ|U+1F1F0 U+1F1FF|Kazakhstan| -|LA|๐Ÿ‡ฑ๐Ÿ‡ฆ|U+1F1F1 U+1F1E6|Lao People's Democratic Republic| -|LB|๐Ÿ‡ฑ๐Ÿ‡ง|U+1F1F1 U+1F1E7|Lebanon| -|LC|๐Ÿ‡ฑ๐Ÿ‡จ|U+1F1F1 U+1F1E8|Saint Lucia| -|LI|๐Ÿ‡ฑ๐Ÿ‡ฎ|U+1F1F1 U+1F1EE|Liechtenstein| -|LK|๐Ÿ‡ฑ๐Ÿ‡ฐ|U+1F1F1 U+1F1F0|Sri Lanka| -|LR|๐Ÿ‡ฑ๐Ÿ‡ท|U+1F1F1 U+1F1F7|Liberia| -|LS|๐Ÿ‡ฑ๐Ÿ‡ธ|U+1F1F1 U+1F1F8|Lesotho| -|LT|๐Ÿ‡ฑ๐Ÿ‡น|U+1F1F1 U+1F1F9|Lithuania| -|LU|๐Ÿ‡ฑ๐Ÿ‡บ|U+1F1F1 U+1F1FA|Luxembourg| -|LV|๐Ÿ‡ฑ๐Ÿ‡ป|U+1F1F1 U+1F1FB|Latvia| -|LY|๐Ÿ‡ฑ๐Ÿ‡พ|U+1F1F1 U+1F1FE|Libya| -|MA|๐Ÿ‡ฒ๐Ÿ‡ฆ|U+1F1F2 U+1F1E6|Morocco| -|MC|๐Ÿ‡ฒ๐Ÿ‡จ|U+1F1F2 U+1F1E8|Monaco| -|MD|๐Ÿ‡ฒ๐Ÿ‡ฉ|U+1F1F2 U+1F1E9|Moldova| -|ME|๐Ÿ‡ฒ๐Ÿ‡ช|U+1F1F2 U+1F1EA|Montenegro| -|MF|๐Ÿ‡ฒ๐Ÿ‡ซ|U+1F1F2 U+1F1EB|Saint Martin (French Part)| -|MG|๐Ÿ‡ฒ๐Ÿ‡ฌ|U+1F1F2 U+1F1EC|Madagascar| -|MH|๐Ÿ‡ฒ๐Ÿ‡ญ|U+1F1F2 U+1F1ED|Marshall Islands| -|MK|๐Ÿ‡ฒ๐Ÿ‡ฐ|U+1F1F2 U+1F1F0|Macedonia| -|ML|๐Ÿ‡ฒ๐Ÿ‡ฑ|U+1F1F2 U+1F1F1|Mali| -|MM|๐Ÿ‡ฒ๐Ÿ‡ฒ|U+1F1F2 U+1F1F2|Myanmar| -|MN|๐Ÿ‡ฒ๐Ÿ‡ณ|U+1F1F2 U+1F1F3|Mongolia| -|MO|๐Ÿ‡ฒ๐Ÿ‡ด|U+1F1F2 U+1F1F4|Macao| -|MP|๐Ÿ‡ฒ๐Ÿ‡ต|U+1F1F2 U+1F1F5|Northern Mariana Islands| -|MQ|๐Ÿ‡ฒ๐Ÿ‡ถ|U+1F1F2 U+1F1F6|Martinique| -|MR|๐Ÿ‡ฒ๐Ÿ‡ท|U+1F1F2 U+1F1F7|Mauritania| -|MS|๐Ÿ‡ฒ๐Ÿ‡ธ|U+1F1F2 U+1F1F8|Montserrat| -|MT|๐Ÿ‡ฒ๐Ÿ‡น|U+1F1F2 U+1F1F9|Malta| -|MU|๐Ÿ‡ฒ๐Ÿ‡บ|U+1F1F2 U+1F1FA|Mauritius| -|MV|๐Ÿ‡ฒ๐Ÿ‡ป|U+1F1F2 U+1F1FB|Maldives| -|MW|๐Ÿ‡ฒ๐Ÿ‡ผ|U+1F1F2 U+1F1FC|Malawi| -|MX|๐Ÿ‡ฒ๐Ÿ‡ฝ|U+1F1F2 U+1F1FD|Mexico| -|MY|๐Ÿ‡ฒ๐Ÿ‡พ|U+1F1F2 U+1F1FE|Malaysia| -|MZ|๐Ÿ‡ฒ๐Ÿ‡ฟ|U+1F1F2 U+1F1FF|Mozambique| -|NA|๐Ÿ‡ณ๐Ÿ‡ฆ|U+1F1F3 U+1F1E6|Namibia| -|NC|๐Ÿ‡ณ๐Ÿ‡จ|U+1F1F3 U+1F1E8|New Caledonia| -|NE|๐Ÿ‡ณ๐Ÿ‡ช|U+1F1F3 U+1F1EA|Niger| -|NF|๐Ÿ‡ณ๐Ÿ‡ซ|U+1F1F3 U+1F1EB|Norfolk Island| -|NG|๐Ÿ‡ณ๐Ÿ‡ฌ|U+1F1F3 U+1F1EC|Nigeria| -|NI|๐Ÿ‡ณ๐Ÿ‡ฎ|U+1F1F3 U+1F1EE|Nicaragua| -|NL|๐Ÿ‡ณ๐Ÿ‡ฑ|U+1F1F3 U+1F1F1|Netherlands| -|NO|๐Ÿ‡ณ๐Ÿ‡ด|U+1F1F3 U+1F1F4|Norway| -|NP|๐Ÿ‡ณ๐Ÿ‡ต|U+1F1F3 U+1F1F5|Nepal| -|NR|๐Ÿ‡ณ๐Ÿ‡ท|U+1F1F3 U+1F1F7|Nauru| -|NU|๐Ÿ‡ณ๐Ÿ‡บ|U+1F1F3 U+1F1FA|Niue| -|NZ|๐Ÿ‡ณ๐Ÿ‡ฟ|U+1F1F3 U+1F1FF|New Zealand| -|OM|๐Ÿ‡ด๐Ÿ‡ฒ|U+1F1F4 U+1F1F2|Oman| -|PA|๐Ÿ‡ต๐Ÿ‡ฆ|U+1F1F5 U+1F1E6|Panama| -|PE|๐Ÿ‡ต๐Ÿ‡ช|U+1F1F5 U+1F1EA|Peru| -|PF|๐Ÿ‡ต๐Ÿ‡ซ|U+1F1F5 U+1F1EB|French Polynesia| -|PG|๐Ÿ‡ต๐Ÿ‡ฌ|U+1F1F5 U+1F1EC|Papua New Guinea| -|PH|๐Ÿ‡ต๐Ÿ‡ญ|U+1F1F5 U+1F1ED|Philippines| -|PK|๐Ÿ‡ต๐Ÿ‡ฐ|U+1F1F5 U+1F1F0|Pakistan| -|PL|๐Ÿ‡ต๐Ÿ‡ฑ|U+1F1F5 U+1F1F1|Poland| -|PM|๐Ÿ‡ต๐Ÿ‡ฒ|U+1F1F5 U+1F1F2|Saint Pierre and Miquelon| -|PN|๐Ÿ‡ต๐Ÿ‡ณ|U+1F1F5 U+1F1F3|Pitcairn| -|PR|๐Ÿ‡ต๐Ÿ‡ท|U+1F1F5 U+1F1F7|Puerto Rico| -|PS|๐Ÿ‡ต๐Ÿ‡ธ|U+1F1F5 U+1F1F8|Palestinian Territory| -|PT|๐Ÿ‡ต๐Ÿ‡น|U+1F1F5 U+1F1F9|Portugal| -|PW|๐Ÿ‡ต๐Ÿ‡ผ|U+1F1F5 U+1F1FC|Palau| -|PY|๐Ÿ‡ต๐Ÿ‡พ|U+1F1F5 U+1F1FE|Paraguay| -|QA|๐Ÿ‡ถ๐Ÿ‡ฆ|U+1F1F6 U+1F1E6|Qatar| -|RE|๐Ÿ‡ท๐Ÿ‡ช|U+1F1F7 U+1F1EA|Rรฉunion| -|RO|๐Ÿ‡ท๐Ÿ‡ด|U+1F1F7 U+1F1F4|Romania| -|RS|๐Ÿ‡ท๐Ÿ‡ธ|U+1F1F7 U+1F1F8|Serbia| -|RU|๐Ÿ‡ท๐Ÿ‡บ|U+1F1F7 U+1F1FA|Russia| -|RW|๐Ÿ‡ท๐Ÿ‡ผ|U+1F1F7 U+1F1FC|Rwanda| -|SA|๐Ÿ‡ธ๐Ÿ‡ฆ|U+1F1F8 U+1F1E6|Saudi Arabia| -|SB|๐Ÿ‡ธ๐Ÿ‡ง|U+1F1F8 U+1F1E7|Solomon Islands| -|SC|๐Ÿ‡ธ๐Ÿ‡จ|U+1F1F8 U+1F1E8|Seychelles| -|SD|๐Ÿ‡ธ๐Ÿ‡ฉ|U+1F1F8 U+1F1E9|Sudan| -|SE|๐Ÿ‡ธ๐Ÿ‡ช|U+1F1F8 U+1F1EA|Sweden| -|SG|๐Ÿ‡ธ๐Ÿ‡ฌ|U+1F1F8 U+1F1EC|Singapore| -|SH|๐Ÿ‡ธ๐Ÿ‡ญ|U+1F1F8 U+1F1ED|Saint Helena, Ascension and Tristan Da Cunha| -|SI|๐Ÿ‡ธ๐Ÿ‡ฎ|U+1F1F8 U+1F1EE|Slovenia| +|AD|๐Ÿ‡ฆ๐Ÿ‡ฉ|U+1F1E6 U+1F1E9|Andorra| +376 +|AE|๐Ÿ‡ฆ๐Ÿ‡ช|U+1F1E6 U+1F1EA|United Arab Emirates| +271 +|AF|๐Ÿ‡ฆ๐Ÿ‡ซ|U+1F1E6 U+1F1EB|Afghanistan|+93 +|AG|๐Ÿ‡ฆ๐Ÿ‡ฌ|U+1F1E6 U+1F1EC|Antigua and Barbuda| +1268 +|AI|๐Ÿ‡ฆ๐Ÿ‡ฎ|U+1F1E6 U+1F1EE|Anguilla|+1264 +|AL|๐Ÿ‡ฆ๐Ÿ‡ฑ|U+1F1E6 U+1F1F1|Albania| +355 +|AM|๐Ÿ‡ฆ๐Ÿ‡ฒ|U+1F1E6 U+1F1F2|Armenia|+374 +|AO|๐Ÿ‡ฆ๐Ÿ‡ด|U+1F1E6 U+1F1F4|Angola| +244 +|AQ|๐Ÿ‡ฆ๐Ÿ‡ถ|U+1F1E6 U+1F1F6|Antarctica| +672 +|AR|๐Ÿ‡ฆ๐Ÿ‡ท|U+1F1E6 U+1F1F7|Argentina| +54 +|AS|๐Ÿ‡ฆ๐Ÿ‡ธ|U+1F1E6 U+1F1F8|American Samoa| +1684 +|AT|๐Ÿ‡ฆ๐Ÿ‡น|U+1F1E6 U+1F1F9|Austria| +43 +|AU|๐Ÿ‡ฆ๐Ÿ‡บ|U+1F1E6 U+1F1FA|Australia| +61 +|AW|๐Ÿ‡ฆ๐Ÿ‡ผ|U+1F1E6 U+1F1FC|Aruba|+297 +|AX|๐Ÿ‡ฆ๐Ÿ‡ฝ|U+1F1E6 U+1F1FD|ร…land Islands|+358 +|AZ|๐Ÿ‡ฆ๐Ÿ‡ฟ|U+1F1E6 U+1F1FF|Azerbaijan| +994 +|BA|๐Ÿ‡ง๐Ÿ‡ฆ|U+1F1E7 U+1F1E6|Bosnia and Herzegovina| +387 +|BB|๐Ÿ‡ง๐Ÿ‡ง|U+1F1E7 U+1F1E7|Barbados| +1246 +|BD|๐Ÿ‡ง๐Ÿ‡ฉ|U+1F1E7 U+1F1E9|Bangladesh| +880 +|BE|๐Ÿ‡ง๐Ÿ‡ช|U+1F1E7 U+1F1EA|Belgium| +32 +|BF|๐Ÿ‡ง๐Ÿ‡ซ|U+1F1E7 U+1F1EB|Burkina Faso| +226 +|BG|๐Ÿ‡ง๐Ÿ‡ฌ|U+1F1E7 U+1F1EC|Bulgaria| +359 +|BH|๐Ÿ‡ง๐Ÿ‡ญ|U+1F1E7 U+1F1ED|Bahrain| +973 +|BI|๐Ÿ‡ง๐Ÿ‡ฎ|U+1F1E7 U+1F1EE|Burundi| +257 +|BJ|๐Ÿ‡ง๐Ÿ‡ฏ|U+1F1E7 U+1F1EF|Benin| +229 +|BL|๐Ÿ‡ง๐Ÿ‡ฑ|U+1F1E7 U+1F1F1|Saint Barthรฉlemy| +590 +|BM|๐Ÿ‡ง๐Ÿ‡ฒ|U+1F1E7 U+1F1F2|Bermuda| +1441 +|BN|๐Ÿ‡ง๐Ÿ‡ณ|U+1F1E7 U+1F1F3|Brunei Darussalam| +673 +|BO|๐Ÿ‡ง๐Ÿ‡ด|U+1F1E7 U+1F1F4|Bolivia| +591 +|BQ|๐Ÿ‡ง๐Ÿ‡ถ|U+1F1E7 U+1F1F6|Bonaire, Sint Eustatius and Saba| +599 +|BR|๐Ÿ‡ง๐Ÿ‡ท|U+1F1E7 U+1F1F7|Brazil| +55 +|BS|๐Ÿ‡ง๐Ÿ‡ธ|U+1F1E7 U+1F1F8|Bahamas| +1242 +|BT|๐Ÿ‡ง๐Ÿ‡น|U+1F1E7 U+1F1F9|Bhutan| +975 +|BV|๐Ÿ‡ง๐Ÿ‡ป|U+1F1E7 U+1F1FB|Bouvet Island| +47 +|BW|๐Ÿ‡ง๐Ÿ‡ผ|U+1F1E7 U+1F1FC|Botswana| +267 +|BY|๐Ÿ‡ง๐Ÿ‡พ|U+1F1E7 U+1F1FE|Belarus| +375 +|BZ|๐Ÿ‡ง๐Ÿ‡ฟ|U+1F1E7 U+1F1FF|Belize| +501 +|CA|๐Ÿ‡จ๐Ÿ‡ฆ|U+1F1E8 U+1F1E6|Canada| +1 +|CC|๐Ÿ‡จ๐Ÿ‡จ|U+1F1E8 U+1F1E8|Cocos (Keeling) Islands| +61 +|CD|๐Ÿ‡จ๐Ÿ‡ฉ|U+1F1E8 U+1F1E9|Congo| +243 +|CF|๐Ÿ‡จ๐Ÿ‡ซ|U+1F1E8 U+1F1EB|Central African Republic| +236 +|CG|๐Ÿ‡จ๐Ÿ‡ฌ|U+1F1E8 U+1F1EC|Congo| +242 +|CH|๐Ÿ‡จ๐Ÿ‡ญ|U+1F1E8 U+1F1ED|Switzerland| +41 +|CI|๐Ÿ‡จ๐Ÿ‡ฎ|U+1F1E8 U+1F1EE|Cรดte D'Ivoire| +225 +|CK|๐Ÿ‡จ๐Ÿ‡ฐ|U+1F1E8 U+1F1F0|Cook Islands| +682 +|CL|๐Ÿ‡จ๐Ÿ‡ฑ|U+1F1E8 U+1F1F1|Chile| +56 +|CM|๐Ÿ‡จ๐Ÿ‡ฒ|U+1F1E8 U+1F1F2|Cameroon| +237 +|CN|๐Ÿ‡จ๐Ÿ‡ณ|U+1F1E8 U+1F1F3|China| +86 +|CO|๐Ÿ‡จ๐Ÿ‡ด|U+1F1E8 U+1F1F4|Colombia| +57 +|CR|๐Ÿ‡จ๐Ÿ‡ท|U+1F1E8 U+1F1F7|Costa Rica| +506 +|CU|๐Ÿ‡จ๐Ÿ‡บ|U+1F1E8 U+1F1FA|Cuba| +53 +|CV|๐Ÿ‡จ๐Ÿ‡ป|U+1F1E8 U+1F1FB|Cape Verde| +238 +|CW|๐Ÿ‡จ๐Ÿ‡ผ|U+1F1E8 U+1F1FC|Curaรงao| +599 +|CX|๐Ÿ‡จ๐Ÿ‡ฝ|U+1F1E8 U+1F1FD|Christmas Island| +61 +|CY|๐Ÿ‡จ๐Ÿ‡พ|U+1F1E8 U+1F1FE|Cyprus| +357 +|CZ|๐Ÿ‡จ๐Ÿ‡ฟ|U+1F1E8 U+1F1FF|Czech Republic| +420 +|DE|๐Ÿ‡ฉ๐Ÿ‡ช|U+1F1E9 U+1F1EA|Germany| +49 +|DJ|๐Ÿ‡ฉ๐Ÿ‡ฏ|U+1F1E9 U+1F1EF|Djibouti| +253 +|DK|๐Ÿ‡ฉ๐Ÿ‡ฐ|U+1F1E9 U+1F1F0|Denmark|+45 +|DM|๐Ÿ‡ฉ๐Ÿ‡ฒ|U+1F1E9 U+1F1F2|Dominica| +1767 +|DO|๐Ÿ‡ฉ๐Ÿ‡ด|U+1F1E9 U+1F1F4|Dominican Republic| +1849 +|DZ|๐Ÿ‡ฉ๐Ÿ‡ฟ|U+1F1E9 U+1F1FF|Algeria| +213 +|EC|๐Ÿ‡ช๐Ÿ‡จ|U+1F1EA U+1F1E8|Ecuador| +593 +|EE|๐Ÿ‡ช๐Ÿ‡ช|U+1F1EA U+1F1EA|Estonia| +372 +|EG|๐Ÿ‡ช๐Ÿ‡ฌ|U+1F1EA U+1F1EC|Egypt| +20 +|EH|๐Ÿ‡ช๐Ÿ‡ญ|U+1F1EA U+1F1ED|Western Sahara| +212 +|ER|๐Ÿ‡ช๐Ÿ‡ท|U+1F1EA U+1F1F7|Eritrea| +291 +|ES|๐Ÿ‡ช๐Ÿ‡ธ|U+1F1EA U+1F1F8|Spain| +34 +|ET|๐Ÿ‡ช๐Ÿ‡น|U+1F1EA U+1F1F9|Ethiopia| +251 +|FI|๐Ÿ‡ซ๐Ÿ‡ฎ|U+1F1EB U+1F1EE|Finland| +358 +|FJ|๐Ÿ‡ซ๐Ÿ‡ฏ|U+1F1EB U+1F1EF|Fiji| +679 +|FK|๐Ÿ‡ซ๐Ÿ‡ฐ|U+1F1EB U+1F1F0|Falkland Islands (Malvinas)| +500 +|FM|๐Ÿ‡ซ๐Ÿ‡ฒ|U+1F1EB U+1F1F2|Micronesia| +691 +|FO|๐Ÿ‡ซ๐Ÿ‡ด|U+1F1EB U+1F1F4|Faroe Islands| +298 +|FR|๐Ÿ‡ซ๐Ÿ‡ท|U+1F1EB U+1F1F7|France| +33 +|GA|๐Ÿ‡ฌ๐Ÿ‡ฆ|U+1F1EC U+1F1E6|Gabon| +241 +|GB|๐Ÿ‡ฌ๐Ÿ‡ง|U+1F1EC U+1F1E7|United Kingdom| +44 +|GD|๐Ÿ‡ฌ๐Ÿ‡ฉ|U+1F1EC U+1F1E9|Grenada| +1473 +|GE|๐Ÿ‡ฌ๐Ÿ‡ช|U+1F1EC U+1F1EA|Georgia| +995 +|GF|๐Ÿ‡ฌ๐Ÿ‡ซ|U+1F1EC U+1F1EB|French Guiana| +594 +|GG|๐Ÿ‡ฌ๐Ÿ‡ฌ|U+1F1EC U+1F1EC|Guernsey| +44 +|GH|๐Ÿ‡ฌ๐Ÿ‡ญ|U+1F1EC U+1F1ED|Ghana| +233 +|GI|๐Ÿ‡ฌ๐Ÿ‡ฎ|U+1F1EC U+1F1EE|Gibraltar| +350 +|GL|๐Ÿ‡ฌ๐Ÿ‡ฑ|U+1F1EC U+1F1F1|Greenland| +299 +|GM|๐Ÿ‡ฌ๐Ÿ‡ฒ|U+1F1EC U+1F1F2|Gambia| +220 +|GN|๐Ÿ‡ฌ๐Ÿ‡ณ|U+1F1EC U+1F1F3|Guinea| +224 +|GP|๐Ÿ‡ฌ๐Ÿ‡ต|U+1F1EC U+1F1F5|Guadeloupe| +590 +|GQ|๐Ÿ‡ฌ๐Ÿ‡ถ|U+1F1EC U+1F1F6|Equatorial Guinea| +240 +|GR|๐Ÿ‡ฌ๐Ÿ‡ท|U+1F1EC U+1F1F7|Greece| +30 +|GS|๐Ÿ‡ฌ๐Ÿ‡ธ|U+1F1EC U+1F1F8|South Georgia| +500 +|GT|๐Ÿ‡ฌ๐Ÿ‡น|U+1F1EC U+1F1F9|Guatemala| +502 +|GU|๐Ÿ‡ฌ๐Ÿ‡บ|U+1F1EC U+1F1FA|Guam| +1671 +|GW|๐Ÿ‡ฌ๐Ÿ‡ผ|U+1F1EC U+1F1FC|Guinea-Bissau| +245 +|GY|๐Ÿ‡ฌ๐Ÿ‡พ|U+1F1EC U+1F1FE|Guyana| +592 +|HK|๐Ÿ‡ญ๐Ÿ‡ฐ|U+1F1ED U+1F1F0|Hong Kong| +852 +|HM|๐Ÿ‡ญ๐Ÿ‡ฒ|U+1F1ED U+1F1F2|Heard Island and Mcdonald Islands| +672 +|HN|๐Ÿ‡ญ๐Ÿ‡ณ|U+1F1ED U+1F1F3|Honduras| +504 +|HR|๐Ÿ‡ญ๐Ÿ‡ท|U+1F1ED U+1F1F7|Croatia| +385 +|HT|๐Ÿ‡ญ๐Ÿ‡น|U+1F1ED U+1F1F9|Haiti| +509 +|HU|๐Ÿ‡ญ๐Ÿ‡บ|U+1F1ED U+1F1FA|Hungary| +36 +|ID|๐Ÿ‡ฎ๐Ÿ‡ฉ|U+1F1EE U+1F1E9|Indonesia| +62 +|IE|๐Ÿ‡ฎ๐Ÿ‡ช|U+1F1EE U+1F1EA|Ireland| +353 +|IL|๐Ÿ‡ฎ๐Ÿ‡ฑ|U+1F1EE U+1F1F1|Israel| +972 +|IM|๐Ÿ‡ฎ๐Ÿ‡ฒ|U+1F1EE U+1F1F2|Isle of Man| +44 +|IN|๐Ÿ‡ฎ๐Ÿ‡ณ|U+1F1EE U+1F1F3|India| +91 +|IO|๐Ÿ‡ฎ๐Ÿ‡ด|U+1F1EE U+1F1F4|British Indian Ocean Territory| +246 +|IQ|๐Ÿ‡ฎ๐Ÿ‡ถ|U+1F1EE U+1F1F6|Iraq| +964 +|IR|๐Ÿ‡ฎ๐Ÿ‡ท|U+1F1EE U+1F1F7|Iran| +98 +|IS|๐Ÿ‡ฎ๐Ÿ‡ธ|U+1F1EE U+1F1F8|Iceland| +354 +|IT|๐Ÿ‡ฎ๐Ÿ‡น|U+1F1EE U+1F1F9|Italy| +39 +|JE|๐Ÿ‡ฏ๐Ÿ‡ช|U+1F1EF U+1F1EA|Jersey| +44 +|JM|๐Ÿ‡ฏ๐Ÿ‡ฒ|U+1F1EF U+1F1F2|Jamaica|+1876 +|JO|๐Ÿ‡ฏ๐Ÿ‡ด|U+1F1EF U+1F1F4|Jordan| +962 +|JP|๐Ÿ‡ฏ๐Ÿ‡ต|U+1F1EF U+1F1F5|Japan| +81 +|KE|๐Ÿ‡ฐ๐Ÿ‡ช|U+1F1F0 U+1F1EA|Kenya| +254 +|KG|๐Ÿ‡ฐ๐Ÿ‡ฌ|U+1F1F0 U+1F1EC|Kyrgyzstan| +996 +|KH|๐Ÿ‡ฐ๐Ÿ‡ญ|U+1F1F0 U+1F1ED|Cambodia| +855 +|KI|๐Ÿ‡ฐ๐Ÿ‡ฎ|U+1F1F0 U+1F1EE|Kiribati| +686 +|KM|๐Ÿ‡ฐ๐Ÿ‡ฒ|U+1F1F0 U+1F1F2|Comoros| +269 +|KN|๐Ÿ‡ฐ๐Ÿ‡ณ|U+1F1F0 U+1F1F3|Saint Kitts and Nevis| +1869 +|KP|๐Ÿ‡ฐ๐Ÿ‡ต|U+1F1F0 U+1F1F5|North Korea| +850 +|KR|๐Ÿ‡ฐ๐Ÿ‡ท|U+1F1F0 U+1F1F7|South Korea| +82 +|KW|๐Ÿ‡ฐ๐Ÿ‡ผ|U+1F1F0 U+1F1FC|Kuwait| +965 +|KY|๐Ÿ‡ฐ๐Ÿ‡พ|U+1F1F0 U+1F1FE|Cayman Islands| +1345 +|KZ|๐Ÿ‡ฐ๐Ÿ‡ฟ|U+1F1F0 U+1F1FF|Kazakhstan| +77 +|LA|๐Ÿ‡ฑ๐Ÿ‡ฆ|U+1F1F1 U+1F1E6|Lao People's Democratic Republic| +856 +|LB|๐Ÿ‡ฑ๐Ÿ‡ง|U+1F1F1 U+1F1E7|Lebanon| +961 +|LC|๐Ÿ‡ฑ๐Ÿ‡จ|U+1F1F1 U+1F1E8|Saint Lucia| +1758 +|LI|๐Ÿ‡ฑ๐Ÿ‡ฎ|U+1F1F1 U+1F1EE|Liechtenstein| +423 +|LK|๐Ÿ‡ฑ๐Ÿ‡ฐ|U+1F1F1 U+1F1F0|Sri Lanka| +94 +|LR|๐Ÿ‡ฑ๐Ÿ‡ท|U+1F1F1 U+1F1F7|Liberia| +231 +|LS|๐Ÿ‡ฑ๐Ÿ‡ธ|U+1F1F1 U+1F1F8|Lesotho| +266 +|LT|๐Ÿ‡ฑ๐Ÿ‡น|U+1F1F1 U+1F1F9|Lithuania| +370 +|LU|๐Ÿ‡ฑ๐Ÿ‡บ|U+1F1F1 U+1F1FA|Luxembourg| +352 +|LV|๐Ÿ‡ฑ๐Ÿ‡ป|U+1F1F1 U+1F1FB|Latvia| +371 +|LY|๐Ÿ‡ฑ๐Ÿ‡พ|U+1F1F1 U+1F1FE|Libya| +218 +|MA|๐Ÿ‡ฒ๐Ÿ‡ฆ|U+1F1F2 U+1F1E6|Morocco| +212 +|MC|๐Ÿ‡ฒ๐Ÿ‡จ|U+1F1F2 U+1F1E8|Monaco| +377 +|MD|๐Ÿ‡ฒ๐Ÿ‡ฉ|U+1F1F2 U+1F1E9|Moldova| +373 +|ME|๐Ÿ‡ฒ๐Ÿ‡ช|U+1F1F2 U+1F1EA|Montenegro| +382 +|MF|๐Ÿ‡ฒ๐Ÿ‡ซ|U+1F1F2 U+1F1EB|Saint Martin (French Part)| +590 +|MG|๐Ÿ‡ฒ๐Ÿ‡ฌ|U+1F1F2 U+1F1EC|Madagascar| +261 +|MH|๐Ÿ‡ฒ๐Ÿ‡ญ|U+1F1F2 U+1F1ED|Marshall Islands| +692 +|MK|๐Ÿ‡ฒ๐Ÿ‡ฐ|U+1F1F2 U+1F1F0|Macedonia| +389 +|ML|๐Ÿ‡ฒ๐Ÿ‡ฑ|U+1F1F2 U+1F1F1|Mali| +223 +|MM|๐Ÿ‡ฒ๐Ÿ‡ฒ|U+1F1F2 U+1F1F2|Myanmar| +95 +|MN|๐Ÿ‡ฒ๐Ÿ‡ณ|U+1F1F2 U+1F1F3|Mongolia| +976 +|MO|๐Ÿ‡ฒ๐Ÿ‡ด|U+1F1F2 U+1F1F4|Macao| +853 +|MP|๐Ÿ‡ฒ๐Ÿ‡ต|U+1F1F2 U+1F1F5|Northern Mariana Islands| +1670 +|MQ|๐Ÿ‡ฒ๐Ÿ‡ถ|U+1F1F2 U+1F1F6|Martinique| +596 +|MR|๐Ÿ‡ฒ๐Ÿ‡ท|U+1F1F2 U+1F1F7|Mauritania| +222 +|MS|๐Ÿ‡ฒ๐Ÿ‡ธ|U+1F1F2 U+1F1F8|Montserrat| +1664 +|MT|๐Ÿ‡ฒ๐Ÿ‡น|U+1F1F2 U+1F1F9|Malta| +356 +|MU|๐Ÿ‡ฒ๐Ÿ‡บ|U+1F1F2 U+1F1FA|Mauritius| +230 +|MV|๐Ÿ‡ฒ๐Ÿ‡ป|U+1F1F2 U+1F1FB|Maldives| +960 +|MW|๐Ÿ‡ฒ๐Ÿ‡ผ|U+1F1F2 U+1F1FC|Malawi| +265 +|MX|๐Ÿ‡ฒ๐Ÿ‡ฝ|U+1F1F2 U+1F1FD|Mexico| +52 +|MY|๐Ÿ‡ฒ๐Ÿ‡พ|U+1F1F2 U+1F1FE|Malaysia| +60 +|MZ|๐Ÿ‡ฒ๐Ÿ‡ฟ|U+1F1F2 U+1F1FF|Mozambique| +258 +|NA|๐Ÿ‡ณ๐Ÿ‡ฆ|U+1F1F3 U+1F1E6|Namibia|+264 +|NC|๐Ÿ‡ณ๐Ÿ‡จ|U+1F1F3 U+1F1E8|New Caledonia| +687 +|NE|๐Ÿ‡ณ๐Ÿ‡ช|U+1F1F3 U+1F1EA|Niger| +227 +|NF|๐Ÿ‡ณ๐Ÿ‡ซ|U+1F1F3 U+1F1EB|Norfolk Island| +672 +|NG|๐Ÿ‡ณ๐Ÿ‡ฌ|U+1F1F3 U+1F1EC|Nigeria| +234 +|NI|๐Ÿ‡ณ๐Ÿ‡ฎ|U+1F1F3 U+1F1EE|Nicaragua| +505 +|NL|๐Ÿ‡ณ๐Ÿ‡ฑ|U+1F1F3 U+1F1F1|Netherlands| +31 +|NO|๐Ÿ‡ณ๐Ÿ‡ด|U+1F1F3 U+1F1F4|Norway| +47 +|NP|๐Ÿ‡ณ๐Ÿ‡ต|U+1F1F3 U+1F1F5|Nepal| +977 +|NR|๐Ÿ‡ณ๐Ÿ‡ท|U+1F1F3 U+1F1F7|Nauru| +674 +|NU|๐Ÿ‡ณ๐Ÿ‡บ|U+1F1F3 U+1F1FA|Niue| +683 +|NZ|๐Ÿ‡ณ๐Ÿ‡ฟ|U+1F1F3 U+1F1FF|New Zealand| +64 +|OM|๐Ÿ‡ด๐Ÿ‡ฒ|U+1F1F4 U+1F1F2|Oman| +968 +|PA|๐Ÿ‡ต๐Ÿ‡ฆ|U+1F1F5 U+1F1E6|Panama| +507 +|PE|๐Ÿ‡ต๐Ÿ‡ช|U+1F1F5 U+1F1EA|Peru| +51 +|PF|๐Ÿ‡ต๐Ÿ‡ซ|U+1F1F5 U+1F1EB|French Polynesia| +689 +|PG|๐Ÿ‡ต๐Ÿ‡ฌ|U+1F1F5 U+1F1EC|Papua New Guinea| +675 +|PH|๐Ÿ‡ต๐Ÿ‡ญ|U+1F1F5 U+1F1ED|Philippines| +63 +|PK|๐Ÿ‡ต๐Ÿ‡ฐ|U+1F1F5 U+1F1F0|Pakistan| +92 +|PL|๐Ÿ‡ต๐Ÿ‡ฑ|U+1F1F5 U+1F1F1|Poland| +48 +|PM|๐Ÿ‡ต๐Ÿ‡ฒ|U+1F1F5 U+1F1F2|Saint Pierre and Miquelon| +508 +|PN|๐Ÿ‡ต๐Ÿ‡ณ|U+1F1F5 U+1F1F3|Pitcairn| +872 +|PR|๐Ÿ‡ต๐Ÿ‡ท|U+1F1F5 U+1F1F7|Puerto Rico| +1939 +|PS|๐Ÿ‡ต๐Ÿ‡ธ|U+1F1F5 U+1F1F8|Palestinian Territory| +970 +|PT|๐Ÿ‡ต๐Ÿ‡น|U+1F1F5 U+1F1F9|Portugal| +351 +|PW|๐Ÿ‡ต๐Ÿ‡ผ|U+1F1F5 U+1F1FC|Palau| +680 +|PY|๐Ÿ‡ต๐Ÿ‡พ|U+1F1F5 U+1F1FE|Paraguay| +595 +|QA|๐Ÿ‡ถ๐Ÿ‡ฆ|U+1F1F6 U+1F1E6|Qatar| +974 +|RE|๐Ÿ‡ท๐Ÿ‡ช|U+1F1F7 U+1F1EA|Rรฉunion| +262 +|RO|๐Ÿ‡ท๐Ÿ‡ด|U+1F1F7 U+1F1F4|Romania| +40 +|RS|๐Ÿ‡ท๐Ÿ‡ธ|U+1F1F7 U+1F1F8|Serbia| +381 +|RU|๐Ÿ‡ท๐Ÿ‡บ|U+1F1F7 U+1F1FA|Russia| +7 +|RW|๐Ÿ‡ท๐Ÿ‡ผ|U+1F1F7 U+1F1FC|Rwanda| +250 +|SA|๐Ÿ‡ธ๐Ÿ‡ฆ|U+1F1F8 U+1F1E6|Saudi Arabia| +966 +|SB|๐Ÿ‡ธ๐Ÿ‡ง|U+1F1F8 U+1F1E7|Solomon Islands| +677 +|SC|๐Ÿ‡ธ๐Ÿ‡จ|U+1F1F8 U+1F1E8|Seychelles| +248 +|SD|๐Ÿ‡ธ๐Ÿ‡ฉ|U+1F1F8 U+1F1E9|Sudan| +249 +|SE|๐Ÿ‡ธ๐Ÿ‡ช|U+1F1F8 U+1F1EA|Sweden| +46 +|SG|๐Ÿ‡ธ๐Ÿ‡ฌ|U+1F1F8 U+1F1EC|Singapore| +65 +|SH|๐Ÿ‡ธ๐Ÿ‡ญ|U+1F1F8 U+1F1ED|Saint Helena, Ascension and Tristan Da Cunha| +290 +|SI|๐Ÿ‡ธ๐Ÿ‡ฎ|U+1F1F8 U+1F1EE|Slovenia| +386 |SJ|๐Ÿ‡ธ๐Ÿ‡ฏ|U+1F1F8 U+1F1EF|Svalbard and Jan Mayen| -|SK|๐Ÿ‡ธ๐Ÿ‡ฐ|U+1F1F8 U+1F1F0|Slovakia| -|SL|๐Ÿ‡ธ๐Ÿ‡ฑ|U+1F1F8 U+1F1F1|Sierra Leone| -|SM|๐Ÿ‡ธ๐Ÿ‡ฒ|U+1F1F8 U+1F1F2|San Marino| -|SN|๐Ÿ‡ธ๐Ÿ‡ณ|U+1F1F8 U+1F1F3|Senegal| -|SO|๐Ÿ‡ธ๐Ÿ‡ด|U+1F1F8 U+1F1F4|Somalia| -|SR|๐Ÿ‡ธ๐Ÿ‡ท|U+1F1F8 U+1F1F7|Suriname| -|SS|๐Ÿ‡ธ๐Ÿ‡ธ|U+1F1F8 U+1F1F8|South Sudan| -|ST|๐Ÿ‡ธ๐Ÿ‡น|U+1F1F8 U+1F1F9|Sao Tome and Principe| -|SV|๐Ÿ‡ธ๐Ÿ‡ป|U+1F1F8 U+1F1FB|El Salvador| -|SX|๐Ÿ‡ธ๐Ÿ‡ฝ|U+1F1F8 U+1F1FD|Sint Maarten (Dutch Part)| -|SY|๐Ÿ‡ธ๐Ÿ‡พ|U+1F1F8 U+1F1FE|Syrian Arab Republic| -|SZ|๐Ÿ‡ธ๐Ÿ‡ฟ|U+1F1F8 U+1F1FF|Swaziland| -|TC|๐Ÿ‡น๐Ÿ‡จ|U+1F1F9 U+1F1E8|Turks and Caicos Islands| -|TD|๐Ÿ‡น๐Ÿ‡ฉ|U+1F1F9 U+1F1E9|Chad| -|TF|๐Ÿ‡น๐Ÿ‡ซ|U+1F1F9 U+1F1EB|French Southern Territories| -|TG|๐Ÿ‡น๐Ÿ‡ฌ|U+1F1F9 U+1F1EC|Togo| -|TH|๐Ÿ‡น๐Ÿ‡ญ|U+1F1F9 U+1F1ED|Thailand| -|TJ|๐Ÿ‡น๐Ÿ‡ฏ|U+1F1F9 U+1F1EF|Tajikistan| -|TK|๐Ÿ‡น๐Ÿ‡ฐ|U+1F1F9 U+1F1F0|Tokelau| -|TL|๐Ÿ‡น๐Ÿ‡ฑ|U+1F1F9 U+1F1F1|Timor-Leste| -|TM|๐Ÿ‡น๐Ÿ‡ฒ|U+1F1F9 U+1F1F2|Turkmenistan| -|TN|๐Ÿ‡น๐Ÿ‡ณ|U+1F1F9 U+1F1F3|Tunisia| -|TO|๐Ÿ‡น๐Ÿ‡ด|U+1F1F9 U+1F1F4|Tonga| -|TR|๐Ÿ‡น๐Ÿ‡ท|U+1F1F9 U+1F1F7|Turkey| -|TT|๐Ÿ‡น๐Ÿ‡น|U+1F1F9 U+1F1F9|Trinidad and Tobago| -|TV|๐Ÿ‡น๐Ÿ‡ป|U+1F1F9 U+1F1FB|Tuvalu| -|TW|๐Ÿ‡น๐Ÿ‡ผ|U+1F1F9 U+1F1FC|Taiwan| -|TZ|๐Ÿ‡น๐Ÿ‡ฟ|U+1F1F9 U+1F1FF|Tanzania| -|UA|๐Ÿ‡บ๐Ÿ‡ฆ|U+1F1FA U+1F1E6|Ukraine| -|UG|๐Ÿ‡บ๐Ÿ‡ฌ|U+1F1FA U+1F1EC|Uganda| -|UM|๐Ÿ‡บ๐Ÿ‡ฒ|U+1F1FA U+1F1F2|United States Minor Outlying Islands| -|US|๐Ÿ‡บ๐Ÿ‡ธ|U+1F1FA U+1F1F8|United States| -|UY|๐Ÿ‡บ๐Ÿ‡พ|U+1F1FA U+1F1FE|Uruguay| -|UZ|๐Ÿ‡บ๐Ÿ‡ฟ|U+1F1FA U+1F1FF|Uzbekistan| -|VA|๐Ÿ‡ป๐Ÿ‡ฆ|U+1F1FB U+1F1E6|Vatican City| -|VC|๐Ÿ‡ป๐Ÿ‡จ|U+1F1FB U+1F1E8|Saint Vincent and The Grenadines| -|VE|๐Ÿ‡ป๐Ÿ‡ช|U+1F1FB U+1F1EA|Venezuela| -|VG|๐Ÿ‡ป๐Ÿ‡ฌ|U+1F1FB U+1F1EC|Virgin Islands, British| -|VI|๐Ÿ‡ป๐Ÿ‡ฎ|U+1F1FB U+1F1EE|Virgin Islands, U.S.| -|VN|๐Ÿ‡ป๐Ÿ‡ณ|U+1F1FB U+1F1F3|Viet Nam| -|VU|๐Ÿ‡ป๐Ÿ‡บ|U+1F1FB U+1F1FA|Vanuatu| -|WF|๐Ÿ‡ผ๐Ÿ‡ซ|U+1F1FC U+1F1EB|Wallis and Futuna| -|WS|๐Ÿ‡ผ๐Ÿ‡ธ|U+1F1FC U+1F1F8|Samoa| -|YE|๐Ÿ‡พ๐Ÿ‡ช|U+1F1FE U+1F1EA|Yemen| -|YT|๐Ÿ‡พ๐Ÿ‡น|U+1F1FE U+1F1F9|Mayotte| -|ZA|๐Ÿ‡ฟ๐Ÿ‡ฆ|U+1F1FF U+1F1E6|South Africa| -|ZM|๐Ÿ‡ฟ๐Ÿ‡ฒ|U+1F1FF U+1F1F2|Zambia| -|ZW|๐Ÿ‡ฟ๐Ÿ‡ผ|U+1F1FF U+1F1FC|Zimbabwe| +|SK|๐Ÿ‡ธ๐Ÿ‡ฐ|U+1F1F8 U+1F1F0|Slovakia| +421 +|SL|๐Ÿ‡ธ๐Ÿ‡ฑ|U+1F1F8 U+1F1F1|Sierra Leone| +232 +|SM|๐Ÿ‡ธ๐Ÿ‡ฒ|U+1F1F8 U+1F1F2|San Marino| +378 +|SN|๐Ÿ‡ธ๐Ÿ‡ณ|U+1F1F8 U+1F1F3|Senegal| +221 +|SO|๐Ÿ‡ธ๐Ÿ‡ด|U+1F1F8 U+1F1F4|Somalia| +252 +|SR|๐Ÿ‡ธ๐Ÿ‡ท|U+1F1F8 U+1F1F7|Suriname| +597 +|SS|๐Ÿ‡ธ๐Ÿ‡ธ|U+1F1F8 U+1F1F8|South Sudan| +211 +|ST|๐Ÿ‡ธ๐Ÿ‡น|U+1F1F8 U+1F1F9|Sao Tome and Principe| +239 +|SV|๐Ÿ‡ธ๐Ÿ‡ป|U+1F1F8 U+1F1FB|El Salvador| +503 +|SX|๐Ÿ‡ธ๐Ÿ‡ฝ|U+1F1F8 U+1F1FD|Sint Maarten (Dutch Part)| +1721 +|SY|๐Ÿ‡ธ๐Ÿ‡พ|U+1F1F8 U+1F1FE|Syrian Arab Republic| +963 +|SZ|๐Ÿ‡ธ๐Ÿ‡ฟ|U+1F1F8 U+1F1FF|Swaziland| +268 +|TC|๐Ÿ‡น๐Ÿ‡จ|U+1F1F9 U+1F1E8|Turks and Caicos Islands| +1649 +|TD|๐Ÿ‡น๐Ÿ‡ฉ|U+1F1F9 U+1F1E9|Chad| +235 +|TF|๐Ÿ‡น๐Ÿ‡ซ|U+1F1F9 U+1F1EB|French Southern Territories| +262 +|TG|๐Ÿ‡น๐Ÿ‡ฌ|U+1F1F9 U+1F1EC|Togo| +228 +|TH|๐Ÿ‡น๐Ÿ‡ญ|U+1F1F9 U+1F1ED|Thailand| +66 +|TJ|๐Ÿ‡น๐Ÿ‡ฏ|U+1F1F9 U+1F1EF|Tajikistan| +992 +|TK|๐Ÿ‡น๐Ÿ‡ฐ|U+1F1F9 U+1F1F0|Tokelau| +690 +|TL|๐Ÿ‡น๐Ÿ‡ฑ|U+1F1F9 U+1F1F1|Timor-Leste| +670 +|TM|๐Ÿ‡น๐Ÿ‡ฒ|U+1F1F9 U+1F1F2|Turkmenistan| +993 +|TN|๐Ÿ‡น๐Ÿ‡ณ|U+1F1F9 U+1F1F3|Tunisia| +216 +|TO|๐Ÿ‡น๐Ÿ‡ด|U+1F1F9 U+1F1F4|Tonga| +676 +|TR|๐Ÿ‡น๐Ÿ‡ท|U+1F1F9 U+1F1F7|Turkey| +90 +|TT|๐Ÿ‡น๐Ÿ‡น|U+1F1F9 U+1F1F9|Trinidad and Tobago| +1868 +|TV|๐Ÿ‡น๐Ÿ‡ป|U+1F1F9 U+1F1FB|Tuvalu| +688 +|TW|๐Ÿ‡น๐Ÿ‡ผ|U+1F1F9 U+1F1FC|Taiwan| +886 +|TZ|๐Ÿ‡น๐Ÿ‡ฟ|U+1F1F9 U+1F1FF|Tanzania| +255 +|UA|๐Ÿ‡บ๐Ÿ‡ฆ|U+1F1FA U+1F1E6|Ukraine| UA +|UG|๐Ÿ‡บ๐Ÿ‡ฌ|U+1F1FA U+1F1EC|Uganda| +256 +|UM|๐Ÿ‡บ๐Ÿ‡ฒ|U+1F1FA U+1F1F2|United States Minor Outlying Islands| +1 +|US|๐Ÿ‡บ๐Ÿ‡ธ|U+1F1FA U+1F1F8|United States| +1 +|UY|๐Ÿ‡บ๐Ÿ‡พ|U+1F1FA U+1F1FE|Uruguay| +598 +|UZ|๐Ÿ‡บ๐Ÿ‡ฟ|U+1F1FA U+1F1FF|Uzbekistan| +998 +|VA|๐Ÿ‡ป๐Ÿ‡ฆ|U+1F1FB U+1F1E6|Vatican City| +379 +|VC|๐Ÿ‡ป๐Ÿ‡จ|U+1F1FB U+1F1E8|Saint Vincent and The Grenadines| +1784 +|VE|๐Ÿ‡ป๐Ÿ‡ช|U+1F1FB U+1F1EA|Venezuela| +58 +|VG|๐Ÿ‡ป๐Ÿ‡ฌ|U+1F1FB U+1F1EC|Virgin Islands, British| +1284 +|VI|๐Ÿ‡ป๐Ÿ‡ฎ|U+1F1FB U+1F1EE|Virgin Islands, U.S.| +1340 +|VN|๐Ÿ‡ป๐Ÿ‡ณ|U+1F1FB U+1F1F3|Viet Nam| +84 +|VU|๐Ÿ‡ป๐Ÿ‡บ|U+1F1FB U+1F1FA|Vanuatu| +678 +|WF|๐Ÿ‡ผ๐Ÿ‡ซ|U+1F1FC U+1F1EB|Wallis and Futuna| +681 +|WS|๐Ÿ‡ผ๐Ÿ‡ธ|U+1F1FC U+1F1F8|Samoa| +685 +|YE|๐Ÿ‡พ๐Ÿ‡ช|U+1F1FE U+1F1EA|Yemen| +967 +|YT|๐Ÿ‡พ๐Ÿ‡น|U+1F1FE U+1F1F9|Mayotte| +262 +|ZA|๐Ÿ‡ฟ๐Ÿ‡ฆ|U+1F1FF U+1F1E6|South Africa| +27 +|ZM|๐Ÿ‡ฟ๐Ÿ‡ฒ|U+1F1FF U+1F1F2|Zambia| +260 +|ZW|๐Ÿ‡ฟ๐Ÿ‡ผ|U+1F1FF U+1F1FC|Zimbabwe| +263 diff --git a/sample/CountryData.Sample.Console/Program.cs b/sample/CountryData.Sample.Console/Program.cs index 2c71aeb..1f8e8d4 100644 --- a/sample/CountryData.Sample.Console/Program.cs +++ b/sample/CountryData.Sample.Console/Program.cs @@ -21,7 +21,7 @@ static void Main() GetRegionsByCountryCode("US"); GetCountryFlag("US"); GetPhoneCodeByCountryShortCode("AF"); - GetCountryByPhoneCode("93"); + GetCountryByPhoneCode("+233"); } @@ -107,10 +107,14 @@ static void GetPhoneCodeByCountryShortCode(string shortCode) /// The phone code. static void GetCountryByPhoneCode(string phoneCode) { - var country = _helper.GetCountriesByPhoneCode(phoneCode); - Console.WriteLine($"Country for phone code {phoneCode}:"); - Console.WriteLine(country.FirstOrDefault()); + var countries = _helper.GetCountriesByPhoneCode(phoneCode); + Console.WriteLine($"Countries for phone code {phoneCode}:"); + foreach (var country in countries) + { + Console.WriteLine(country.CountryName); + } } + } \ No newline at end of file diff --git a/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml b/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml index e74e0fe..8187663 100644 --- a/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml +++ b/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml @@ -10,14 +10,19 @@ -