/tomorrow-timelines-widget

The official example of a Weather Widget based on the Tomorrow.io API Timelines interface.

Primary LanguageJavaScriptOtherNOASSERTION

Weather Widget

Weather Widget using Tomorrow.io API

Use our /timelines endpoint with our collection of weather icons to create your very own weather widget.

This project is an updated version of the previous v3-based widget, highlighted in our blog including a step-by-step explanations on how it's built.

What's Included

Single page React-based weather widget, showing snapshot of today's weather (temperature and weather icon) - including realtime and upcoming 6 hours (in UTC).

Note: This app uses the key on the clients-side React web app, but it is recommended to secure it by having a proxy backend service calling the Tomorrow.io API. If you want to add local time, use geo-timezone service (such as geo-tz) and the timezone request parameter.

Weather Widget

Usage

This project was bootstrapped with Create React App - head over to this amazing project to learn more on how to kickoff the work.

To deploy it, we recommend using Heroku, see live demo of previous project example here - (replace YOUR_API_KEY in query with your API key).

Contributors

This project exists thanks to Nati Levi, our Director of Engineering, and the engineers building the Tomorrow.io Weather API.

License

Licensed under the MIT License, while the icons in use are according to the CC BY 4.0 License.