Skip to content

Commit

Permalink
Updated us-autocomplete-pro sdk to use the correct format for city fi…
Browse files Browse the repository at this point in the history
…lter
  • Loading branch information
andrewjohnsonsmarty committed Nov 14, 2023
1 parent 2baec37 commit f997f7e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/examples/UsAutocompleteProExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ public static void main(String[] args) {
// Documentation for input fields can be found at:
// https://smartystreets.com/docs/cloud/us-autocomplete-api#pro-http-request-url

lookup.addStateFilter("MA");
lookup.addCityFilter("Denver");
lookup.addCityFilter("Orem");
lookup.addPreferState("UT");
lookup.addCityFilter("Denver,Aurora,CO");
lookup.addCityFilter("Orem,UT");
lookup.addPreferState("CO");
lookup.setSelected("1042 W Center St Apt A (24) Orem UT 84057");
lookup.setPreferRatio(33);
lookup.setSource("all");

Expand Down

0 comments on commit f997f7e

Please sign in to comment.