澳大利亚邮政数据采集器
从澳大利亚邮政网站搜索和提取郊区数据的快速模块。
用法
下面的示例非常简单,并产生namedtuples:
import austpost
for data in austpost.search_postcode("Sydney"):
print(data)
AusPostData(postcode='2055', suburb='NORTH SYDNEY', state='NSW')
AusPostData(postcode='2059', suburb='NORTH SYDNEY', state='NSW')
AusPostData(postcode='2060', suburb='NORTH SYDNEY', state='NSW')
AusPostData(postcode='2060', suburb='NORTH SYDNEY SHOPPIN
2021-09-16 13:19:50
19KB
Python
1