User 登入

Airvisual Pro API返回JSON格式

要使用Airvisual Pro的设备API访问显示器的数据,可以使用Airvisual Pro的设备API链接。在此处查看如何访问此信息:

访问Airvisual Pro的设备API

只需将链接粘贴到您的Web浏览器中,然后点击“ Enter”即可访问显示器的数据。

设备API将以JSON格式返回响应。要了解API响应的含义,请参考我们的全球 空气质量API 文档页面包括大多数定义:

Airvisual API文档

笔记:在Pro的返回JSON中,缩写'公司'是指CO2或二氧化碳(通过设备传感器测量),而不是一氧化碳(CO)。

有关Airvisual的公共户外空气污染API,请参见下面的说明,以说明PRO从Pro中返回的“小时”数据。


"hourly": [

   {

    "p2_sum": 119, //total PM2.5 concentration within 1 hour

    "p2_count": 4, //number of measurements taken within 1 hour

    "p1_sum": 130, //total PM10 concentration within 1 hour

    "p1_count": 4, //number of measurements taken within 1 hour

    "co_sum": 1809, //total CO2 concentration within 1 hour

    "co_count": 4, //number of measurements taken within 1 hour

    "hm_sum": 95,

    "hm_count": 4,

    "tp_sum": 20.24477,

    "tp_count": 4,

    "ts": "2017-12-08T02:00:00.000Z",

    "outdoor_station": { //refer to the documentation link above

     "ts": "2017-12-06T15:00:00.000Z",

     "aqius": 41,

     "mainus": "p2",

     "aqicn": 14,

     "maincn": "p2",

     "p2": {

      "conc": 10,

      "aqius": 41,

      "aqicn": 14

     },

     "api_id": "4395"

    },

    "outdoor_weather": {

     "ts": "2017-12-06T15:00:00.000Z",

     "tp": 4,

     "pr": 1025,

     "hu": 29,

     "ws": 0,

     "wd": 327,

     "ic": "01n"

    }

   },

返回空中知识库

The number one air cleaning solution for your home.

Lorem ipsum Donec ipsum consectetur metus a conubia velit lacinia viverra consectetur vehicula Donec tincidunt lorem.

TALK TO AN EXPERT
Article Resources

Article Resources

Search

search-normal