We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e140c4d commit 72b34cbCopy full SHA for 72b34cb
README.md
@@ -96,6 +96,22 @@ options[:cnt] = 6
96
OpenWeather::ForecastDaily.city_id("1273874", options)
97
```
98
99
+### Weather history API
100
+
101
102
+```ruby
103
+require 'open_weather'
104
105
+# get weather history by city name
106
+OpenWeather::History.city("Cochin, IN", options)
107
108
+# get weather history by city id
109
+OpenWeather::History.city_id("1273874", options)
110
111
+# get weather history by geocode. (lat, lon)
112
+OpenWeather::History.geocode(9.94, 76.26, options)
113
+```
114
115
Doucumentation about the weather forecast end-point:
116
http://openweathermap.org/forecast
117
0 commit comments