I don’t know how to programm it, but I checked that in API (http://aqicn.org/api/pl/) is possible to get pm10 also.
pi@raspberrypi:~ $ curl -i "http://api.waqi.info/feed/shanghai/?token=demo"
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 17 Jan 2017 16:55:57 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 943
Connection: keep-alive
Vary: Accept-Encoding
Access-Control-Allow-Origin: *
X-Gen-Time: 98
X-Powered-By: rxstreamer-waqi/1.0
{"status":"ok","data":{"idx":1437,"aqi":134,"time":{"v":1484697600,"s":"2017-01-18 00:00:00","tz":"+08:00"},"city":{"nam
e":"Shanghai","url":"http:\/\/aqicn.org\/city\/shanghai\/","geo":["31.2047372","121.4489017"]},"attributions":[{"name":"
Shanghai Environment Monitoring Center(\u4e0a\u6d77\u5e02\u73af\u5883\u76d1\u6d4b\u4e2d\u5fc3)","url":"http:\/\/www.semc
.gov.cn\/"},{"name":"China National Urban air quality real-time publishing platform (\u5168\u56fd\u57ce\u5e02\u7a7a\u6c1
4\u8d28\u91cf\u5b9e\u65f6\u53d1\u5e03\u5e73\u53f0)","url":"http:\/\/113.108.142.147:20035\/emcpublish\/"},{"name":"U.S.
Consulate Shanghai Air Quality Monitor","url":"http:\/\/shanghai.usembassy-china.org.cn\/airmonitor.html"},{"name":"Worl
d Air Quality Index Project","url":"http:\/\/waqi.info\/"}],"iaqi":{"**pm25**":{"v":134},"**pm10**":{"v":37},"**o3**":{"v":17},"**no2**"
:{"v":34},"**so2**":{"v":7},"**co**":{"v":6},"t":{"v":9},"d":{"v":5},"p":{"v":1029},"h":{"v":76},"w":{"v":3}}}}