zoukankan      html  css  js  c++  java
  • 天气接口

     

    http://wthrcdn.etouch.cn/weather_mini?city=北京

    或者是

    http://wthrcdn.etouch.cn/weather_mini?citykey=101280601

    citykey:编号:城市key

    {
      "data": {
        "yesterday": {
          "date": "27日星期二",
          "high": "高温 27℃",
          "fx": "南风",
          "low": "低温 11℃",
          "fl": "<![CDATA[<3级]]>",
          "type": "晴"
        },
        "city": "北京",
        "aqi": "500",
        "forecast": [
          {
            "date": "28日星期三",
            "high": "高温 25℃",
            "fengli": "<![CDATA[<3级]]>",
            "low": "低温 9℃",
            "fengxiang": "东风",
            "type": "多云"
          },
          {
            "date": "29日星期四",
            "high": "高温 19℃",
            "fengli": "<![CDATA[<3级]]>",
            "low": "低温 7℃",
            "fengxiang": "南风",
            "type": "晴"
          },
          {
            "date": "30日星期五",
            "high": "高温 19℃",
            "fengli": "<![CDATA[<3级]]>",
            "low": "低温 8℃",
            "fengxiang": "南风",
            "type": "晴"
          },
          {
            "date": "31日星期六",
            "high": "高温 23℃",
            "fengli": "<![CDATA[<3级]]>",
            "low": "低温 10℃",
            "fengxiang": "西南风",
            "type": "多云"
          },
          {
            "date": "1日星期天",
            "high": "高温 25℃",
            "fengli": "<![CDATA[<3级]]>",
            "low": "低温 10℃",
            "fengxiang": "南风",
            "type": "多云"
          }
        ],
        "ganmao": "昼夜温差较大,较易发生感冒,请适当增减衣服。体质较弱的朋友请注意防护。",
        "wendu": "20"
      },
      "status": 1000,
      "desc": "OK"
    }
    

      

  • 相关阅读:
    Morpheus
    UCSC cancer genome
    LSF 作业系统常用命令
    R 语言处理excel为data.frame
    Expression Atlas
    Oncomine 数据库
    pathlib.Path 类的使用
    DT包 -- R语言中自定义表格数据
    R 目录及文件操作
    R 指定安装镜像的方法
  • 原文地址:https://www.cnblogs.com/hfultrastrong/p/8662713.html
Copyright © 2011-2022 走看看