邮政编码查找API? [英] Zip Code Lookup API?

查看:30
本文介绍了邮政编码查找API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当有人进入加利福尼亚州洛杉矶等地点时,我需要一个 API 来为我提供该地点的邮政编码.我已经看到许多 API 可以通过邮政编码为您提供详细信息,但我需要反过来.

I need an API to give me the zip code of a location when someone enters a location like Los Angeles, California. I have seen many APIs that give you the details by the zip code, but I need the reverse.

推荐答案

USPS 有一个 地址信息 api.你给它一个地址,它给你邮政编码.正如评论者所说,您需要提供地址,因为许多城市有多个邮政编码.

USPS has an address information api. You give it an address and it gives you the zip code. And as the commenters said, you need to provide an address, because many cities have multiple zip codes.

这篇关于邮政编码查找API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆