Skip to content

Commit 24c36d8

Browse files
author
Jesse Emond
committed
Update README.md to contain rect and circle zone
1 parent 83054e5 commit 24c36d8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ OpenWeather::Current.city_id("1273874")
3232
OpenWeather::Current.geocode(9.94, 76.26)
3333

3434
# get current weather for a list of city ids
35-
OpenWeather::Current.cities([524901,703448,2643743])
35+
OpenWeather::Current.cities([524901, 703448, 2643743])
36+
37+
# get current weather for a bounding box
38+
OpenWeather::Current.rectangle_zone(12, 32, 15, 37, 10)
39+
40+
# get current weather for cities around a point
41+
OpenWeather::Current.circle_zone(55.5, 37.5, 10)
3642

3743
# get the current weather in degrees celsius
3844
OpenWeather::Current.city("Cochin, IN", units: 'metric')

0 commit comments

Comments
 (0)