-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,11 +55,11 @@ address_editable = AddressEditable( | |
company = "Lob", | ||
email = "[email protected]", | ||
phone = "5555555555", | ||
address_line1 = "210 King St", | ||
address_line2 = "# 6100", | ||
address_line1 = "2261 Market Street", | ||
address_line2 = "Ste 5668", | ||
address_city = "San Francisco", | ||
address_state = "CA", | ||
address_zip = "94107", | ||
address_zip = "94114", | ||
address_country = CountryExtended("US"), | ||
) | ||
|
||
|
@@ -189,11 +189,11 @@ postcard_editable = PostcardEditable( | |
back = "<html style='padding: 1in; font-size: 20;'>Back HTML for {{name}}</html>", | ||
to = AddressEditable( | ||
name = "Harry Zhang", | ||
address_line1 = "210 King St", | ||
address_line2 = "# 6100", | ||
address_line1 = "2261 Market Street", | ||
address_line2 = "Ste 5668", | ||
address_city = "San Francisco", | ||
address_state = "CA", | ||
address_zip = "94107", | ||
address_zip = "94114", | ||
), | ||
merge_variables = MergeVariables( | ||
name = "Harry", | ||
|
@@ -286,11 +286,11 @@ self_mailer_editable = SelfMailerEditable( | |
outside = "<html style='padding: 1in; font-size: 20;'>Outside HTML for {{name}}</html>", | ||
to = AddressEditable( | ||
name = "Harry Zhang", | ||
address_line1 = "210 King St", | ||
address_line2 = "# 6100", | ||
address_line1 = "2261 Market Street", | ||
address_line2 = "Ste 5668", | ||
address_city = "San Francisco", | ||
address_state = "CA", | ||
address_zip = "94107", | ||
address_zip = "94114", | ||
), | ||
merge_variables = MergeVariables( | ||
name = "Harry", | ||
|
@@ -383,11 +383,11 @@ letter_editable = LetterEditable( | |
color = True, | ||
to = AddressEditable( | ||
name = "Harry Zhang", | ||
address_line1 = "210 King St", | ||
address_line2 = "# 6100", | ||
address_line1 = "2261 Market Street", | ||
address_line2 = "Ste 5668", | ||
address_city = "San Francisco", | ||
address_state = "CA", | ||
address_zip = "94107", | ||
address_zip = "94114", | ||
), | ||
merge_variables = MergeVariables( | ||
name = "Harry", | ||
|
@@ -486,11 +486,11 @@ check_editable = CheckEditable( | |
_from = "adr_210a8d4b0b76d77b", | ||
to = AddressDomestic( | ||
name = "Harry Zhang", | ||
address_line1 = "210 King St", | ||
address_line2 = "# 6100", | ||
address_line1 = "2261 Market Street", | ||
address_line2 = "Ste 5668", | ||
address_city = "San Francisco", | ||
address_state = "CA", | ||
address_zip = "94107", | ||
address_zip = "94114", | ||
), | ||
merge_variables = MergeVariables( | ||
name = "Harry", | ||
|
@@ -1552,10 +1552,10 @@ except ApiException as e: | |
curl https://api.lob.com/v1/bulk/us_verifications \ | ||
-u <YOUR LIVE API KEY>: \ | ||
--header "Content-Type: application/x-www-form-urlencoded" \ | ||
--data-urlencode "addresses[0][primary_line]=210 King Street" \ | ||
--data-urlencode "addresses[0][primary_line]=2261 Market Street" \ | ||
--data-urlencode "addresses[0][city]=San Francisco" \ | ||
--data-urlencode "addresses[0][state]=CA" \ | ||
--data-urlencode "addresses[0][zip_code]=94017" \ | ||
--data-urlencode "addresses[0][zip_code]=94114" \ | ||
--data-urlencode "addresses[1][primary_line]=185 BERRY ST STE 6600" \ | ||
--data-urlencode "addresses[1][city]=SAN FRANCISCO" \ | ||
--data-urlencode "addresses[1][state]=CA" \ | ||
|
@@ -1567,10 +1567,10 @@ with ApiClient(configuration) as api_client: | |
api = UsVerificationsApi(api_client) | ||
|
||
verification_data_0 = MultipleComponents( | ||
primary_line = "210 King Street", | ||
primary_line = "2261 Market Street, | ||
city = "San Francisco", | ||
state = "CA", | ||
zip_code = "94017", | ||
zip_code = "94114", | ||
) | ||
|
||
verification_data_1 = MultipleComponents( | ||
|
@@ -1598,20 +1598,20 @@ except ApiException as e: | |
```bash | ||
curl https://api.lob.com/v1/us_verifications \ | ||
-u <YOUR_LIVE_API_KEY>: \ | ||
-d "primary_line=210 King Street" \ | ||
-d "primary_line=2261 Market Street" \ | ||
-d "city=San Francisco" \ | ||
-d "state=CA" \ | ||
-d "zip_code=94017" \ | ||
-d "zip_code=94114" \ | ||
``` | ||
|
||
```python | ||
with ApiClient(configuration) as api_client: | ||
api = UsVerificationsApi(api_client) | ||
verification_data_1 = UsVerificationsWritable( | ||
primary_line = "210 King Street", | ||
primary_line = "2261 Market Street", | ||
city = "San Francisco", | ||
state = "CA", | ||
zip_code = "94017", | ||
zip_code = "94114", | ||
) | ||
|
||
try: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,11 +50,11 @@ lob.Address.create( | |
company='Lob', | ||
email='[email protected]', | ||
phone='5555555555', | ||
address_line1='210 King St', | ||
address_line2='# 6100', | ||
address_line1='2261 Market Street', | ||
address_line2='Ste 5668', | ||
address_city='San Francisco', | ||
address_state='CA', | ||
address_zip='94107', | ||
address_zip='94114', | ||
address_country='US', | ||
) | ||
``` | ||
|
@@ -68,11 +68,11 @@ address_editable = AddressEditable( | |
company = "Lob", | ||
email = "[email protected]", | ||
phone = "5555555555", | ||
address_line1 = "210 King St", | ||
address_line2 = "# 6100", | ||
address_line1 = "2261 Market Street", | ||
address_line2 = "Ste 5668", | ||
address_city = "San Francisco", | ||
address_state = "CA", | ||
address_zip = "94107", | ||
address_zip = "94114", | ||
address_country = CountryExtended("US"), | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
recipient,primary line,city,state,zip_code | ||
Larry Lobster,210 King St,San Francisco,CA,94107 | ||
Lloyd Lobster,210 King St,San Francisco,CA,94107 | ||
Lisa Lobster,210 King St,San Francisco,CA,94107 | ||
Linda Lobster,210 King St,San Francisco,CA,94107 | ||
Leith Lobster,210 King St,San Francisco,CA,94107 | ||
Larry Lobster,2261 Market Street,San Francisco,CA,94114 | ||
Lloyd Lobster,2261 Market Street,San Francisco,CA,94114 | ||
Lisa Lobster,2261 Market Street,San Francisco,CA,94114 | ||
Linda Lobster,2261 Market Street,San Francisco,CA,94114 | ||
Leith Lobster,2261 Market Street,San Francisco,CA,94114 | ||
Lala Lobster,Not A Real Street,San Francisco,CA,94107 | ||
Krusty Krab,212 King St,San Francisco,CA,94107 | ||
Patrick Star,211 King St,San Francisco,CA,94107 | ||
Christopher Crawdad,209 King St,San Francisco,CA,94107 | ||
Lost Lobster,210 King St,,CA, | ||
Lost Lobster,2261 Market Street,,CA, |