Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byteplant/jquery-address-validator-net
jQuery plugin for the address-validator.net API
https://github.com/byteplant/jquery-address-validator-net
address address-autocomplete address-validation data-cleaning data-quality data-validation form-validation form-validation-jquery javascript javascript-library jquery validation
Last synced: about 4 hours ago
JSON representation
jQuery plugin for the address-validator.net API
- Host: GitHub
- URL: https://github.com/byteplant/jquery-address-validator-net
- Owner: byteplant
- Created: 2016-02-25T13:46:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T14:18:06.000Z (over 8 years ago)
- Last Synced: 2024-04-14T22:19:12.766Z (7 months ago)
- Topics: address, address-autocomplete, address-validation, data-cleaning, data-quality, data-validation, form-validation, form-validation-jquery, javascript, javascript-library, jquery, validation
- Language: JavaScript
- Homepage: https://www.address-validator.net/api.html
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jquery-address-validator-net
=========A small library providing a wrapper for [api.address-validator.net](http://www.address-validator.net/adressen-pruefen-online-api.html) for jQuery
## Installation
Download zip, extract and embed `jquery.address-validator-net.js` to your HTML.
This Plugin needs jQuery!
## Usage
See test.js and test.html
```js
// Init only once
$.validateAddress("YOUR API KEY");// OnClick
$("#submit").click(function () {
$("#addressform").validateAddress(function (response) {
console.log(response);
})
})//response looks like that:
/*
status VALID, INVALID, SUSPECT or error: DELAYED, RATE_LIMIT_EXCEEDED, API_KEY_INVALID_OR_DEPLETED, RESTRICTED, INTERNAL_ERROR
formattedaddress full address in standardized format
street street address in standardized format
streetnumber street number in standardized format
postalcode zip/postal code in standardized format
city city in standardized format
state state/province in standardized format
country two-letter ISO 3166-1 country code
*/
```## Release History
* 0.1.0 Initial release