# WeatherProjectCN **Repository Path**: dark.H/WeatherProjectCN ## Basic Information - **Project Name**: WeatherProjectCN - **Description**: a weather air quantity Api or a little collector - **Primary Language**: Python - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-12-25 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #WeatherProject Document this project just for Chinese data center http://datacenter.mep.gov.cn/report/air_daily >Include Part - give a api to get data - give a api for statistic ## Introduction (Linux , Windows , Mac OSX )都可以使用,但只能在命令行下运行 依赖在 Dependency.sh 里面 所有的库都可以通过pip3 来下载 主要依赖于Python3 的原始库和 matplotlib , pandas ## Useage 使用说明 python3 main.py +参数 有使用说明 python3 main.py -h 主要功能如下 下载空气质量数据 python3 main.py -d -c '城市名' -t '201x-x-x 201x-x-x' -f #会将下载的数据保存在当前目录 ./city/下面 统计空气质量(饼状图) python3 main.py -s -c '城市名' -w classfy_air_rank 统计空气质量的趋势(折线图,分布图,累计分布图) python3 main.py -s -c '城市名' -w every_dateformat_mean --args 'line/bar/area month/week/day'