@@ -89,10 +89,14 @@ List of the way you can search
8989Here's the list of the ways you can search zipcode:
9090
9191- `by city and state <by_city_and_state _>`_
92+ - `by city <by_city _>`_
93+ - `by state <by_state _>`_
9294- `by latitude, longitude and radius <by_coordinate _>`_
9395- `by zipcode prefix <by_prefix _>`_
9496- `by estimated population <by_population _>`_
9597- `by estimated population density <by_density _>`_
98+ - `by landarea <by_landarea _>`_
99+ - `by waterarea <by_waterarea _>`_
96100- `by estimated total annual wage <by_total_wage _>`_
97101- `by estimated average total annual wage <by_wealthy _>`_
98102- `by estimated house of units <by_house _>`_
@@ -138,6 +142,36 @@ You can add ``standard_only=False`` parameter to enable returning Po Box type zi
138142 >>> res = search.by_city_and_state("Chicago", "IL", standard_only=False)
139143
140144
145+ .. _by_city :
146+
147+ Search by City
148+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149+
150+ You can search zipcode by city name.
151+
152+ .. code-block :: python
153+
154+ >> > res = search.by_city(" vienna" )
155+ >> > zipcode = res[0 ]
156+ >> > zipcode.City
157+ ' Vienna'
158+
159+
160+ .. _by_state :
161+
162+ Search by State
163+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164+
165+ You can search zipcode by state name.
166+
167+ .. code-block :: python
168+
169+ >> > res = search.by_state(" Rhode Island" )
170+ >> > zipcode = res[0 ]
171+ >> > zipcode.State
172+ ' RI'
173+
174+
141175 .. _by_coordinate :
142176
143177Search by Latitude and Longitude
@@ -204,6 +238,34 @@ You can search all zipcode by defining its population density lower bound or upp
204238 ... # do whatever you want...
205239
206240
241+ .. _by_landarea :
242+
243+ Search by Landarea of Zipcode
244+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245+
246+ You can search all zipcode by defining its Landarea lower bound or upper bound, or both:
247+
248+ .. code-block :: python
249+
250+ >> > res = search.by_landarea(lower = 1000 , upper = 2000 )
251+ >> > for zipcode in res:
252+ ... # do whatever you want...
253+
254+
255+ .. _by_waterarea :
256+
257+ Search by Waterarea of Zipcode
258+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259+
260+ You can search all zipcode by defining its Waterarea lower bound or upper bound, or both:
261+
262+ .. code-block :: python
263+
264+ >> > res = search.by_waterarea(lower = 100 , upper = 200 )
265+ >> > for zipcode in res:
266+ ... # do whatever you want...
267+
268+
207269 .. _by_total_wage :
208270
209271Search by Zipcode Estimate Annual Total Wage
0 commit comments