Weather & Air Quality

Weather & Air Quality plugin for Bubble

Alt text

Introduction

Elevate your Bubble.io applications with the ultimate environmental awareness tool. The "Weather & Air Quality" plugin seamlessly integrates comprehensive weather forecasts and real-time air quality data into your projects, empowering users with actionable insights right at their fingertips.

How to set up:

Obtain your api key at https://openweathermap.org/appid (opens in a new tab)

You can use the plugin both with data calls and actions, also I created an action that will transform unix to data, as the openweather gives only unix with thier calls.

You can check my demo page(the links are above) to see an example what can you do with this plugin: Alt text For more information, you can write me on email: stefanchiciuc@gmail.com

Thanks and hope you'll like this plugin :))

Properties

This plugin works with API Calls. For API Calls to work you need a working API Key from Open Weather.

The plugin contains the following Data Calls and actions:

Current Weather Data

ParameterRequired/OptionalDescription
latrequiredLatitude. If you need the geocoder to automatically convert city names and zip-codes to geo coordinates and the other way around, please use our Geocoding API (opens in a new tab).
lonrequiredLongitude. If you need the geocoder to automatically convert city names and zip-codes to geo coordinates and the other way around, please use our Geocoding API (opens in a new tab).
appidrequiredYour unique API key (you can always find it on your account page under the "API key" tab) (opens in a new tab).
modeoptionalResponse format. Possible values are xml and html. If you don't use the mode parameter, the format is JSON by default. Learn more (opens in a new tab)
unitsoptionalUnits of measurement. standard, metric, and imperial units are available. If you do not use the units parameter, standard units will be applied by default. Learn more (opens in a new tab)
langoptionalYou can use this parameter to get the output in your language. Learn more (opens in a new tab)

Call 5 day / 3 hour forecast data

You can search weather forecast for 5 days with data every 3 hours by geographic coordinates. All weather data can be obtained in JSON and XML formats.

ParameterRequired/OptionalDescription
latrequiredLatitude. If you need the geocoder to automatically convert city names and zip-codes to geo coordinates and the other way around, please use our Geocoding API.
lonrequiredLongitude. If you need the geocoder to automatically convert city names and zip-codes to geo coordinates and the other way around, please use our Geocoding API.
appidrequiredYour unique API key (you can always find it on your account page under the "API key" tab).
unitsoptionalUnits of measurement. Standard, metric, and imperial units are available. If you do not use the units parameter, standard units will be applied by default. Learn more (opens in a new tab)
modeoptionalResponse format. JSON format is used by default. To get data in XML format use mode=xml. Learn more (opens in a new tab)
cntoptionalA number of timestamps, which will be returned in the API response. Learn more (opens in a new tab)
langoptionalYou can use the lang parameter to get the output in your language. Learn more (opens in a new tab)

Coordinates by location name

Current Weather by ZIP Code

Current air pollution data

Setup

These are step-by-step instructions on how to get the plugin working on any Bubble App.

  1. Add this plugin to your application.
  2. Go to https://openweathermap.org/price (opens in a new tab) and get an API Key.
  3. In the Bubble Editor, select an Element that can receive a Data Source (for instance Repeating Group). Select as Data Source -> Get Data from External API and on API Provider choose the best option that suits you (for example Weather Data By City).
  4. Fill in the requested properties (for example units refer to Units of measurement: standard, metric and imperial units are available. If you do not use the units parameter, standard units will be applied by default).
  5. Write the name of the city (for example Manhattan)
  6. Select your output language (default is English).
  7. Finally, place your API Key where it is asked for.

Need a hand?

For inquiries please send an email to stefanchiciuc@gmail.com

Help us improve

Support us by rating the plugin at Bubble