Xbasic

Addressing and Tracking Functions

Description

Alpha Anywhere provides the following Addressing and Tracking Functions.

Name
Description
*html_validation_level Function

Define a validation level.

geocode_address Function

Geocode an address. Returns .lat and .lon. Also returns .error_code and .error_text. Address must be entered with commas between each part. e.g. 123 Main St., Boston, MA, 02116, USA. Method can be 'Nominatim' or 'Google'. Default is 'Google'

intelligent_mail_barcode Function

Function returns codes to use with the intelligent mail barcode font.

ups_delivery_status Function

Contacts the UPS web site and looks up the status of the specified tracking number

usps_city_from_zip Function

Contacts the USPS web site and looks up the city for the specified 5 digit zip code.

usps_citystate_from_zip Function

Contacts the USPS web site and looks up the city and state for the specified 5 digit zip code.

usps_delivery_status Function

Contacts the USPS web site and looks up the status of the specified Delivery Confirmation number

usps_state_from_zip Function

Contacts the USPS web site and looks up the state for the specified 5 digit zip code.

usps_zipcode_lookup Function

Contacts the USPS web site and looks up the zip code for the specified address. Returns "" if the zip is not found. Returns the first zip code if multiple are available for the specified address.

what3words Function

Translate a location to or from a what3words address.

zipcodeinfo Function

Returns a dot variable with info about a 5 digit zip code.