Thanks Kirk. Yes after looking through the 2 I think zipcodeapi is the better
choice. I registered my app and with a simple http request already have what I
needed….
C_TEXT($response)
C_OBJECT($oResponse)
$$zipcode:="96734"
$clientKey:=“;alks;dlfakjldflajdkl"
$url:="https://www.zipcodeapi.com/rest/"+$clientKey+"/info.json/"+$zipcode+"/radians”
HTTP Request(HTTP GET method;$url;$content;$response)
$oResponse:=JSON Parse($response)
$city:=$oResponse.city
$state=$oResponse.state
Didn’t think it would be that easy. Hope this post helps someone else down the
line.
John
> On Jun 1, 2019, at 6:26 PM, Kirk Brooks via 4D_Tech <[email protected]>
> wrote:
>
> John,
> I've been using SmartyStreets for several years. It's very easy to connect
> with and the folks who run it are extremely helpful and friendly.
>
> I looked at the website for zicodeapi.com and notice the service is less
> expensive and offers a number of APIs for working with zip codes. It's a
> solid suggestion.
>
>
> On Sat, Jun 1, 2019 at 10:06 PM JOHN BAUGHMAN via 4D_Tech <
> [email protected]> wrote:
>
>> Actually since I am in the early stage of development any suggestions in
>> this regard are welcome. I see another web based Zip Code site call
>> SmartyStreets. That would work as well.
>>
>> So any other suggestions would be greatly appreciated.
>>
>> Thanks,
>>
>> John
>>
>>> On Jun 1, 2019, at 3:07 PM, JOHN BAUGHMAN via 4D_Tech <
>> [email protected]> wrote:
>>>
>>> Is anyone using zipcodeapi.com <http://zipcodeapi.com/> to fill in city
>> and state fields in a 4D database? Would you be willing to share your code?
>>>
>>> Thanks,
>>>
>>> John
>>>
>>>
>>> John Baughman
>>> Kailua, Hawaii
>>> (808) 262-0328
>>> [email protected]
>>>
>>> **********************************************************************
>>> 4D Internet Users Group (4D iNUG)
>>> Archive: http://lists.4d.com/archives.html
>>> Options: https://lists.4d.com/mailman/options/4d_tech
>>> Unsub: mailto:[email protected]
>>> **********************************************************************
>>
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> Archive: http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub: mailto:[email protected]
>> **********************************************************************
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> =======================
>
> What can be said, can be said clearly,
> and what you can’t say, you should shut up about
>
> *Wittgenstein and the Computer *
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive: http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************