ISO3166-1-ZH 1.0.1

This package contains country list with offical english name and chinese name (both traditional and simplified) follow ISO 3166-1. Data convert from wiki page.
這個套件包含了 ISO 3166-1 規則的官方英文與中文(正體與簡體)國家名稱,資料來源為 Wiki 頁面。

Install-Package ISO3166-1-ZH -Version 1.0.1
dotnet add package ISO3166-1-ZH --version 1.0.1
<PackageReference Include="ISO3166-1-ZH" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ISO3166-1-ZH --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ISO3166-1-ZH

Country list contains code, names and chinese name (both traditional and simplified). Data retrieved from following Wiki page:
包含代碼、名稱與中文名稱(正體與簡體)的國家清單。資料來自下列 Wiki 頁面:

  • https://zh.wikipedia.org/zh-tw/ISO_3166-1
  • https://zh.wikipedia.org/zh-cn/ISO_3166-1

Install package via NuGet - 使用 NuGet 安裝此套件

You can install this package from NuGet Page or use following command:

PM> Install-Package ISO3166-1-ZH

您可以透過 NuGet 下載此套件,或使用下列指令:

PM> Install-Package ISO3166-1-ZH

Use the package - 使用此套件

To access the list:

List<CountryModel> list = ISO3166.Country.List;

Properties of CountryModel:

public string Name { get; set; }
public string TwoLetterCode { get; set; }
public string ThreeLetterCode { get; set; }
public string NumericCode { get; set; }
public string TraditionalChineseName { get; set; }
public string SimplifiedChineseName { get; set; }
public bool Independent { get; set; }

Get the lastest data by WebCrawler - 使用 WebCrawler 取得最新資料

Use WebCrawler to retrieve this lastest country data from Wiki page, and generate iso3166.json and Country.cs.

  1. Download WebCrawler.
  2. Run WebCrawler, an output path (folder) is needed to store generated files; if provided empty, it will store at same folder contains the application.
  3. Two files will be generate: iso3166.json and Country.cs.

使用專案內的 WebCrawler 從 Wiki 頁面上取得最新的國家資料,將產出 iso3166.json 和 Country.cs 兩個檔案。

  1. 下載 WebCrawler。
  2. 執行 WebCrawler,畫面將會詢問要存放產出檔案的資料夾路徑;如果沒有提供,將會產出在執行檔的相同資料夾。
  3. 兩個檔案會被產出:iso3166.json 與 Country.cs。

ISO3166-1-ZH

Country list contains code, names and chinese name (both traditional and simplified). Data retrieved from following Wiki page:
包含代碼、名稱與中文名稱(正體與簡體)的國家清單。資料來自下列 Wiki 頁面:

  • https://zh.wikipedia.org/zh-tw/ISO_3166-1
  • https://zh.wikipedia.org/zh-cn/ISO_3166-1

Install package via NuGet - 使用 NuGet 安裝此套件

You can install this package from NuGet Page or use following command:

PM> Install-Package ISO3166-1-ZH

您可以透過 NuGet 下載此套件,或使用下列指令:

PM> Install-Package ISO3166-1-ZH

Use the package - 使用此套件

To access the list:

List<CountryModel> list = ISO3166.Country.List;

Properties of CountryModel:

public string Name { get; set; }
public string TwoLetterCode { get; set; }
public string ThreeLetterCode { get; set; }
public string NumericCode { get; set; }
public string TraditionalChineseName { get; set; }
public string SimplifiedChineseName { get; set; }
public bool Independent { get; set; }

Get the lastest data by WebCrawler - 使用 WebCrawler 取得最新資料

Use WebCrawler to retrieve this lastest country data from Wiki page, and generate iso3166.json and Country.cs.

  1. Download WebCrawler.
  2. Run WebCrawler, an output path (folder) is needed to store generated files; if provided empty, it will store at same folder contains the application.
  3. Two files will be generate: iso3166.json and Country.cs.

使用專案內的 WebCrawler 從 Wiki 頁面上取得最新的國家資料,將產出 iso3166.json 和 Country.cs 兩個檔案。

  1. 下載 WebCrawler。
  2. 執行 WebCrawler,畫面將會詢問要存放產出檔案的資料夾路徑;如果沒有提供,將會產出在執行檔的相同資料夾。
  3. 兩個檔案會被產出:iso3166.json 與 Country.cs。

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 183 10/8/2018