Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DBA2B2009FB for ; Fri, 6 May 2016 10:11:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA6911609F6; Fri, 6 May 2016 08:11:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 28226160A0D for ; Fri, 6 May 2016 10:11:14 +0200 (CEST) Received: (qmail 13681 invoked by uid 500); 6 May 2016 08:11:13 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 13523 invoked by uid 99); 6 May 2016 08:11:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2016 08:11:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1C0732C1F5C for ; Fri, 6 May 2016 08:11:13 +0000 (UTC) Date: Fri, 6 May 2016 08:11:13 +0000 (UTC) From: "Arno Noordover (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 May 2016 08:11:15 -0000 [ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: ---------------------------------- Attachment: (was: CAMEL_9273__added_boxed_query_and_added_language.patch) > Enhance camel-weather component to support all the options of Api 2.5 > --------------------------------------------------------------------- > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather > Reporter: Charles Moulliard > Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 cities! Current weather is frequently updated based on global models and data from more than 40,000 weather stations. Data is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10&cluster=yes > api.openweathermap.org/data/2.5/find?lat=55.5&lon=37.5&cnt=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743&units=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}&lon={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country code}&cnt={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}&cnt={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}&lon={lon}&cnt={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}&type=hour&start={start}&end={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}&type=hour&start={start}&cnt={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country code}&type=hour&start={start}&end={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country code}&type=hour&start={start}&cnt={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}&lon={lon}&type=hour&start={start}&end={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}&lon={lon}&type=hour&start={start}&cnt={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}&type=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}&type=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}&type=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}&cnt={cnt}&bbox={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55&lon=37&cnt=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)