We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Add-Ons
default app icon

Weather Info

By W3care
Visit
Description

his plugin can be used to get weather report and temperature (highest & lowest) report of that day and next 3 day. We used Yahoo Weather API for it. CURL should be enabled on the server. Now multilingual support is added to the plugin.

  • wheather-info

This plugin can be used to get weather report and temperature (highest & lowest) report of that day and next 3 day. We used Yahoo Weather API for it. CURL should be enabled on the server. Now multilingual support is added to the plugin.

This simple plugin allows you to grab the Weather info of any location. The older version of this plugin was using Google API for this purpose, but the upgraded one uses the other API that provides more options. You can get the following details from this plugin 1. Weekly forecast of weather 2. Humidity, sunrise time, high and low temperature of the given location 3. Weather forecast of next 5 days (by default) The upgraded version has two parameters a. place (required) = This can be any field value under channel entries tag or can be given static. b. limit (optional) = This is set to the default value of the API which is 5. You can add any number below 5. Usage are illustrated below {exp:weather_info:weather place=“London” limit=“3”} title - {title}

description - {description}

link - {link}

language - {language}

lastBuildDate - {lastBuildDate}

location_city - {location_city}

location_country - {location_country}

atmosphere_humidity - {atmosphere_humidity}

atmosphere_rising - {atmosphere_rising}

atmosphere_visibility - {atmosphere_visibility}

astronomy_sunrise - {astronomy_sunrise}

lat - {lat}

long - {long}

date - {date}

temp - {temp}

text - {text}

forecast - {forecast} forecast_code - {forecast_code}

forecast_date - {forecast_date}

forecast_day - {forecast_day}

forecast_high - {forecast_high}

forecast_low - {forecast_low}

forecast_text - {forecast_text}

{/forecast} {/exp:weather_info:weather}

The forecast tag is the paired tag which returns the forecasting of the specified number of coming days (1 to 5)

Rest of the variables in the above code snippet is the available variables that are returned by the API call.

If you were using the older version of this addon please upgrade your addons version and the implementation in the code.

Information
Version 2.0
Last Update 10 years ago
Compatibility EE 3, 2
License Commercial
Links
  • Support
Visit
ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.