You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ $address = new Address([
62
62
63
63
$response = $address->validate();
64
64
```
65
-
The USPS api limits 5 address validations per request. If you need to validate more than one address at a time, pass a multi dim array to the `Address` constructor.
65
+
The USPS api supports up to 5 address validations per request. If you need to validate more than one address at a time, pass a multi dim array to the `Address` constructor.
66
66
67
67
```php
68
68
use ctwillie\Usps\Address;
@@ -86,6 +86,8 @@ $addresses = new Address([$address1, $address2])
86
86
$response = $addresses->validate();
87
87
```
88
88
89
+
The response will contain the [corrected address](https://www.usps.com/business/web-tools-apis/address-information-api.pdf), or an error if not enough information was given or the address does not exists.
90
+
89
91
## Contributing
90
92
91
93
Contributions are always welcomed and will receive full credit.
0 commit comments