air-in-china
air-in-china copied to clipboard
This project is to fetch data from the official Silverlight application of Ministry of Environmental Protection of China (http://106.37.208.233:20035/), which publish realtime air quality.
```python def getCityRealHistory(self, city): return json.loads(self.getResponse("GetCityRealTimeAqiHistoryByCondition", ""+list(self.searchCity(city).keys())[0]+""))["ArrayOfCityAQIPublishHistory"]["CityAQIPublishHistory"] ``` **怎样给以上接口加上timepoint时间范围条件呢?**
现在代码只能获取最近两周的逐日数据。
String result = HttpKit.post("http://106.37.208.233:20035/ClientBin/Env-CnemcPublish-RiaServices-EnvCnemcPublishDomainService.svc/binary/GetAreaAQIPublishLive", "", getHeaders()); if (!StringUtils.isEmpty(result)) { System.out.println(result); } 是这么写吗