Skip to content

Commit 8a00b53

Browse files
authored
Create README.md
1 parent b364f78 commit 8a00b53

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# ISO3166-1-ZH
2+
Country list contains code, names and chinese name (both traditional and simplified). Data retrieved from following Wiki page:
3+
- https://zh.wikipedia.org/zh-tw/ISO_3166-1
4+
- https://zh.wikipedia.org/zh-cn/ISO_3166-1
5+
6+
---
7+
包含代碼、名稱與中文名稱(正體與簡體)的國家清單。資料來自下列 Wiki 頁面:
8+
- https://zh.wikipedia.org/zh-tw/ISO_3166-1
9+
- https://zh.wikipedia.org/zh-cn/ISO_3166-1
10+
11+
12+
## Install package via NuGet (使用 NuGet 安裝此套件)
13+
You can install this package from [NuGet Page](https://www.nuget.org/packages/) or use following command:
14+
```
15+
PM> Install-Package ISO3166-1-ZH
16+
```
17+
18+
---
19+
您可以透過 [NuGet](https://www.nuget.org/packages/) 下載此套件,或使用下列指令:
20+
```
21+
PM> Install-Package ISO3166-1-ZH
22+
```
23+
24+
25+
## Get the lastest data by WebCrawler (使用 WebCrawler 取得最新資料)
26+
Use WebCrawler to retrieve this lastest country data from Wiki page, and generate iso3166.json and Country.cs.
27+
1. [Download](https://github.com/Dynafloating/iso3166-1-zh) WebCrawler.
28+
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.
29+
3. Two files will be generate: iso3166.json and Country.cs.
30+
31+
---
32+
使用專案內的 WebCrawler 從 Wiki 頁面上取得最新的國家資料,將產出 iso3166.json 和 Country.cs 兩個檔案。
33+
1. [下載](https://github.com/Dynafloating/iso3166-1-zh) WebCrawler。
34+
2. 執行 WebCrawler,畫面將會詢問要存放產出檔案的資料夾路徑;如果沒有提供,將會產出在執行檔的相同資料夾。
35+
3. 兩個檔案會被產出:iso3166.json 與 Country.cs。

0 commit comments

Comments
 (0)