Rename file
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/104b4258 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/104b4258 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/104b4258 Branch: refs/heads/master Commit: 104b4258e933ee7fa39f367f20a925bb10f39761 Parents: 9232473 Author: Claus Ibsen <davscl...@apache.org> Authored: Tue Aug 2 20:30:37 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue Aug 2 20:30:37 2016 +0200 ---------------------------------------------------------------------- components/camel-weather/readme.MD | 27 --------------------------- components/camel-weather/readme.md | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/104b4258/components/camel-weather/readme.MD ---------------------------------------------------------------------- diff --git a/components/camel-weather/readme.MD b/components/camel-weather/readme.MD deleted file mode 100644 index 5616725..0000000 --- a/components/camel-weather/readme.MD +++ /dev/null @@ -1,27 +0,0 @@ -#Description of Weather API - -##Types of queries - -There are five type of queries: - -1. current weather (contexts weather, group, find and box/city); -2. forecast (5 days per 3 hours, context forecast) -3. forecast/daily (context forecast/daily); you must provide cnt parameter -4. history (context history/city and maybe also history/station) -5. station (contexts station, box/station and station/find) - -##Locations - -1. by name of the city and the country code (q={city name},{country code}) -2. by id of the city (id={city ID}); The current weather can also be -asked for a group of id's using the context group -3. by latitude and longitude (lat={lat}&lon={lon}) -4. by box (bbox=12,32,15,37,10), you must also provide cluster=yes/no; context -must be box/city or box/station -5. find cities/station around location defined by lat/lon; context -must be find or station/find. You must provide a cnt parameter. - - -##Note -The history by station isn't documented at the OpenWeather website but -is mentioned in the issue \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/104b4258/components/camel-weather/readme.md ---------------------------------------------------------------------- diff --git a/components/camel-weather/readme.md b/components/camel-weather/readme.md new file mode 100644 index 0000000..5616725 --- /dev/null +++ b/components/camel-weather/readme.md @@ -0,0 +1,27 @@ +#Description of Weather API + +##Types of queries + +There are five type of queries: + +1. current weather (contexts weather, group, find and box/city); +2. forecast (5 days per 3 hours, context forecast) +3. forecast/daily (context forecast/daily); you must provide cnt parameter +4. history (context history/city and maybe also history/station) +5. station (contexts station, box/station and station/find) + +##Locations + +1. by name of the city and the country code (q={city name},{country code}) +2. by id of the city (id={city ID}); The current weather can also be +asked for a group of id's using the context group +3. by latitude and longitude (lat={lat}&lon={lon}) +4. by box (bbox=12,32,15,37,10), you must also provide cluster=yes/no; context +must be box/city or box/station +5. find cities/station around location defined by lat/lon; context +must be find or station/find. You must provide a cnt parameter. + + +##Note +The history by station isn't documented at the OpenWeather website but +is mentioned in the issue \ No newline at end of file