6.0.0-beta6
3/30/26
  • Error
    Ticket 14104 was not found.

[#14094] Update World Weather Online to v2 API.
Summary Update World Weather Online to v2 API.
Queue Horde Framework Packages
Type Enhancement
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester stefan (at) raptorweb (dot) nl
Created 8/27/15 (3868 days ago)
Due
Updated 8/29/15 (3866 days ago)
Assigned 8/27/15 (3868 days ago)
Resolved 8/29/15 (3866 days ago)
Milestone
Patch No

History
08/29/2015 03:02:33 AM Michael Rubinsky Comment #5
State ⇒ Resolved
Reply to this comment
Support for v2 added in Horde_Service_Weather 2.2.0.

Needs configuration change in Horde to switch to v2 though. Support is 
present in git, but not yet in released PEAR pacakges. To enable this 
before the next Horde application release add the following to the 
very end of your horde/config/conf.php file:

$conf['weather']['params']['apiversion'] = '2';

This is needed because the version 1 api is still supported for 
existing accounts and we default to version 1 in code for BC.


08/29/2015 02:52:59 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 29a15a5ad62ff857704ffd5e4dc12d6a33c93acf
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Fri Aug 28 22:39:28 2015 -0400

     Update to support WWO's version 2 API.

     Part of Ticket: 14094

  .../lib/Horde/Service/Weather/Forecast/Wwov2.php   |   59 +++++++++++
  .../lib/Horde/Service/Weather/Period/Wwov2.php     |  110 
++++++++++++++++++++
  .../lib/Horde/Service/Weather/Wwo.php              |   47 +++++++--
  framework/Service_Weather/package.xml              |   10 ++-
  4 files changed, 216 insertions(+), 10 deletions(-)

http://github.com/horde/horde/commit/29a15a5ad62ff857704ffd5e4dc12d6a33c93acf
08/27/2015 02:07:03 PM Michael Rubinsky Comment #3
Priority ⇒ 1. Low
State ⇒ Assigned
Type ⇒ Enhancement
Queue ⇒ Horde Framework Packages
Version ⇒
Reply to this comment
Moving to Framework queue since this is in Horde_Service_Weather.
08/27/2015 02:05:44 PM Michael Rubinsky Comment #2
State ⇒ Assigned
Summary ⇒ Update World Weather Online to v2 API.
Assigned to Michael Rubinsky
Reply to this comment
The version 1 API still works, however no new v1 API keys are given 
out, so existing accounts still function but new accounts do not.

...explains why I haven't noticed this issue yet since I use WWO on my 
portal page :)

08/27/2015 01:26:57 PM stefan (at) raptorweb (dot) nl Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ World weather API for Horde not working
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
The world weather API for Horde (under Horde configuration -> API 
keys) is no longer working. Generating a working key at World Weather 
and entering it gives an error ('7ad3ab4a500796a1a' is not a valid key 
for 'Free-Weather-API).
After inquiring with World Weather I got the following response:

The key is Free API V2 and in your application you are using v1 url

I've asked what the new URL should be, but no reply yet


Saved Queries