分享开源的GB/T-2260国家行政区划代码

项目中需要用到省市数据,在网上搜了一下,很多旧数据,稍微新一点的下载就要积分、X币什么的,很不爽,最后在GitHub上找到一个开源的,还有各种语言版本的,非常方便!

https://github.com/cn/GB2260

目前已有的语言实现:

Python: https://github.com/cn/GB2260.py

JavaScript: https://github.com/cn/GB2260.js

Ruby: https://github.com/cn/GB2260.rb

Java: https://github.com/cn/GB2260.java

PHP: https://github.com/cn/GB2260.php

Go: https://github.com/cn/GB2260.go

Elixir: https://github.com/cn/GB2260.ex

Swift: https://github.com/cn/GB2260.swift

.NET / C#: https://github.com/cn/GB2260.cs

最后再次感谢各位大神的无私贡献!!!

原文地址:https://www.cnblogs.com/rangeon/p/8758066.html