lloydrichards.dev

NEXTJS

API

May 20, 2020
Working with APIs
Displaying a temperature from an OpenWeather-style response.

The original experiment fetched weather for Zürich and rendered the temperature from the response's current.temp field. This archived version uses a local sample response.

The current temperature is 18.4 °C.

Zürich · Sample data