AddressValidation
import { AddressValidation } from "https://googleapis.deno.dev/v1/addressvalidation:v1.ts";
The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address.
class AddressValidation {}
async v1ProvideValidationFeedback(req: GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest): Promise<GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse>;
async v1ValidateAddress(req: GoogleMapsAddressvalidationV1ValidateAddressRequest): Promise<GoogleMapsAddressvalidationV1ValidateAddressResponse>;
§Methods
§
v1ProvideValidationFeedback(req: GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest): Promise<GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse>
[src]Feedback about the outcome of the sequence of validation attempts. This
should be the last call made after a sequence of validation calls for the
same address, and should be called once the transaction is concluded. This
should only be sent once for the sequence of ValidateAddress
requests
needed to validate an address fully.
§
v1ValidateAddress(req: GoogleMapsAddressvalidationV1ValidateAddressRequest): Promise<GoogleMapsAddressvalidationV1ValidateAddressResponse>
[src]Validates an address.