https://github.com/codeskyblue/pm25
get city pm2.5. (I hope one day we will not care about the pm2.5)
https://github.com/codeskyblue/pm25
Last synced: about 1 month ago
JSON representation
get city pm2.5. (I hope one day we will not care about the pm2.5)
- Host: GitHub
- URL: https://github.com/codeskyblue/pm25
- Owner: codeskyblue
- License: bsd-3-clause
- Created: 2013-10-08T14:31:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-29T15:25:13.000Z (over 11 years ago)
- Last Synced: 2025-03-27T03:51:17.634Z (about 2 months ago)
- Language: JavaScript
- Size: 531 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pm25
====
Monitor pm2.5. (I hope one day sky is blue)
This is just my interest of Beijing weather.
## How to use
get beijing weather`pm25 beijing # get beijing pm2.5`
or if you want to to use you own server, for example: 115.28.15.5:8077
```
./pm25 -addr=115.28.15.5:8080 beijing
```## How to deploy a server
This need a mysql-server. Just offer a dbname. The program will CreateTable itself.```
go get github.com/shxsun/pm25 # build
./pm25 -daemon # start server
```**Demo** server:
## Links
* api resource:
* what is AQI:
* history data of beijing:## Package use
*
*
*