OpenWeatherMap获取随机数据

时间:2017-07-07 19:30:02

标签: openweathermap

OpenWeatherMap API存在问题,有时我会得到错误的数据,我不知道为什么。这是一个例子:

{
    coord: {
        lon: 106.85,
        lat: -6.21
    },
    weather: [
        {
            id: 701,
            main: "Mist",
            description: "mist",
            icon: "50n"
        }
    ],
    base: "stations",
    main: {
        temp: 26,
        pressure: 1011,
        humidity: 88,
        temp_min: 26,
        temp_max: 26
    },
    visibility: 2300,
    wind: {
        speed: 1.5
    },
    clouds: {
        all: 40
    },
    dt: 1499455800,
    sys: {
        type: 1,
        id: 8043,
        message: 0.0191,
        country: "ID",
        sunrise: 1499382259,
        sunset: 1499424661
    },
    id: 1642911,
    name: "Jakarta",
    cod: 200
}

温度正确,但说明不正确。

这个问题有解决方法吗?

0 个答案:

没有答案