An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

        

pm25
====

![leaf](images/leaf.png)

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
*
*
*