test-weather-fork
Version:
React Weather component
51 lines (50 loc) • 1.17 kB
JavaScript
export const apiForecastResponse = {
data: [
{
rh: 95,
wind_spd: 1.44707,
weather: { icon: 'c04d', code: 804, description: 'Overcast clouds' },
max_temp: 5.1,
datetime: '2019-11-22',
min_temp: 2,
},
{
rh: 70,
wind_spd: 1.67986,
weather: { icon: 'c03d', code: 803, description: 'Broken clouds' },
max_temp: 12.4,
datetime: '2019-11-23',
min_temp: 2,
},
{
rh: 74,
wind_spd: 1.00672,
weather: { icon: 'c03d', code: 803, description: 'Broken clouds' },
max_temp: 11.2,
datetime: '2019-11-24',
min_temp: 4.4,
},
{
rh: 89,
wind_spd: 0.847828,
weather: { icon: 'c04d', code: 804, description: 'Overcast clouds' },
max_temp: 6.6,
datetime: '2019-11-25',
min_temp: 2.5,
},
{
rh: 80,
wind_spd: 1.90319,
weather: { icon: 'r03d', code: 502, description: 'Heavy rain' },
max_temp: 11.3,
datetime: '2019-11-26',
min_temp: 5.1,
},
],
city_name: 'Munich',
lon: 11.58,
timezone: 'Europe/Berlin',
lat: 48.14,
country_code: 'DE',
state_code: '02',
};