Search zipcode information by fuzzy State name. My engine use fuzzy match and guess what is the state you want.
(self,
state,
zipcode_type=ZipcodeType.Standard,
sort_by=SimpleZipcode.zipcode.name,
ascending=True,
returns=DEFAULT_LIMIT)
| 645 | ) |
| 646 | |
| 647 | def by_state(self, |
| 648 | state, |
| 649 | zipcode_type=ZipcodeType.Standard, |
| 650 | sort_by=SimpleZipcode.zipcode.name, |
| 651 | ascending=True, |
| 652 | returns=DEFAULT_LIMIT): |
| 653 | """ |
| 654 | Search zipcode information by fuzzy State name. |
| 655 | |
| 656 | My engine use fuzzy match and guess what is the state you want. |
| 657 | """ |
| 658 | return self.query( |
| 659 | state=state, |
| 660 | sort_by=sort_by, zipcode_type=zipcode_type, |
| 661 | ascending=ascending, returns=returns, |
| 662 | ) |
| 663 | |
| 664 | def by_city_and_state(self, |
| 665 | city, |