1 Star 3 Fork 2

wjt/areacode-datav-py

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
china.py 358 Bytes
一键复制 编辑 原始数据 按行查看 历史
wjt 提交于 3年前 . init
# 阿里全国地图的边界线
# -*-coding:utf-8-*
import json
import requests
full_url = 'https://geo.datav.aliyun.com/areas_v3/bound/100000_full.json'
response = requests.get(full_url)
result = json.loads(response.text)
jsonfile = open('data/china.json', 'w', encoding='utf-8')
json.dump(result, jsonfile, indent=2, ensure_ascii=False)
jsonfile.close()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/vijtor/areacode-datav-py.git
git@gitee.com:vijtor/areacode-datav-py.git
vijtor
areacode-datav-py
areacode-datav-py
master

搜索帮助