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.
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.
Version | 2.0 |
Last Update | 8 years ago |
Compatibility | EE 3, 2 |
License | Commercial |
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.