0

如今,网站在幕后执行一些地址验证似乎相当普遍。比如邮政编码上的4位扩展名一般都是填的。除了填写邮政编码扩展名的4位外,我还想知道这个地址属于哪个县。

这将在 ASP.NET 3.5 应用程序中使用,该应用程序已经为 ASP.NET AJAX 和 jQuery 提供了所有挂钩。

有哪些服务可以做到这一点?Web 服务,第 3 方包括等。

界面结构

ADDRESS_LINE1
ADDRESS_LINE2
CITY
STATE 
ZIP
4

6 回答 6

1

如果您有现金,NetAddress是为 .NET 构建的。

之前也有人问过这个问题:here

于 2009-04-16T23:41:03.157 回答
1

这是旧的,但如果它可以帮助某人,那么我的时间花得很好。听起来您正在寻找的东西可以通过两种方式完成。

1 - 如果您只想根据地址附加县,您可以使用简单的邮政编码/县数据库来执行此操作。

2 - 如果您想标准化地址、验证地址,然后将县添加到其中,您将需要提供经常更新的 USPS 数据的服务。这是我们称为 LiveAddress 的标准地址验证 API 的一部分。 实时地址

我在一家名为qualifiedaddress 的地址验证公司工作。

于 2011-08-08T22:01:07.223 回答
1
 <script type="text/javascript">
    function OpenChild() {
    var Area = document.getElemenenter code heretById('<%=ddlArea.ClientID %>');
    var City = document.getElementById('<%=ddlCity.ClientID %>');
    var State = document.getElementById('<%=ddlstate.ClientID %>');
    var Country = document.getElementById('<%=ddlCountryName.ClientID %>');
    if (Area.value != "" && City.value != "" && State.value != "" && Country.value != "") {
    var MyArgs = new Array(Area.options[Area.selectedIndex].text,
    City.options[City.selectedIndex].text,
    State.options[State.selectedIndex].text,
    Country.options[Country.selectedIndex].text);
    var WinSettings = "center:yes;resizable:no;dialogHeight:500px;dialogWidth:900px;"
    // ALTER BELOW LINE - supply correct URL for Child Form
    var MyArgs = window.showModalDialog("http://YourURL/GoogleMapLocationSelector.aspx?Area=" + MyArgs[0].toString() + "&City=" + MyArgs[1].toString() + "&State=" + MyArgs[2].toString() + "&Country=" + MyArgs[3].toString(), MyArgs, WinSettings);

    if (MyArgs == null) {
    window.alert("Error occurred while setting geo location.");
    }
    else {
    document.getElementById('<%=txtLongitude.ClientID %>').value = MyArgs[0].toString();
    document.getElementById('<%=txtLatitude.ClientID %>').value = MyArgs[1].toString();
    document.getElementById('<%=hfLatitude.ClientID %>').value = MyArgs[1].toString();
    document.getElementById('<%=hfLongitude.ClientID %>').value = MyArgs[0].toString();
    }
    }
    else {
    alert("Plz Select Area/City/State");
    return false;
    }
    }
    </script>
于 2012-11-09T07:21:29.050 回答
0

美国邮政服务的网站列出了许多地址验证服务。出版物 28 (PDF) 是美国地址的寻址标准。不幸的是,它比您的架构更复杂。

于 2009-04-16T23:36:16.680 回答
0

根据您需要的许可证选项,UPS可以是免费的。

于 2009-04-16T23:39:59.447 回答
0

有很多服务。我们通过 FedEx 进行运输,因此我们使用他们的“地址验证服务”。可以在此处找到他们在 python 中的 API 的包装器代码。联邦快递的手册可以在这里找到。

其他人喜欢minfraud。您可以传递诸如送货和账单地址、电话号码、电子邮件、IP 地址等字段。在此处查看更多信息。根据提供的信息,您将收到如下所示的响应:

distance=0;countryMatch=Yes;countryCode=US;freeMail=No;anonymousProxy=No;binMatch=NA;binCountry=;err=;proxyScore=0.00;ip_region=CA;ip_city=Mountain View;ip_latitude=37.3860;ip_longitude=-122.0838;binName=;ip_isp=Google;ip_org=Google;binNameMatch=NA;binPhoneMatch=NA;binPhone=;custPhoneInBillingLoc=;highRiskCountry=No;queriesRemaining=4408;cityPostalMatch=;shipCityPostalMatch=;maxmindID=JBRH7OXI;ip_asnum=AS15169 Google Inc.;ip_userType=business;ip_countryConf=70;ip_regionConf=13;ip_cityConf=10;ip_postalCode=94040;ip_postalConf=;ip_accuracyRadius=999;ip_netSpeedCell=Corporate;ip_metroCode=807;ip_areaCode=650;ip_timeZone=America/Los_Angeles;ip_regionName=California;ip_domain=;ip_countryName=United States;ip_continentCode=NA;ip_corporateProxy=No;riskScore=34.0;prepaid=;minfraud_version=1.3;service_level=standard

MinFraud AVS 检查更适合确定在您的网站上开展业务的客户是否值得信赖。

于 2015-12-14T19:59:18.467 回答