GithubHelp home page GithubHelp logo

aliirz / angular-liveaddress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from faradayio/angular-liveaddress

0.0 3.0 0.0 72 KB

Use SmartyStreets to autocomplete address fields

License: MIT License

HTML 11.13% CSS 14.68% JavaScript 74.19%

angular-liveaddress's Introduction

angular-liveaddress

Use SmartyStreets to autocomplete address fields in an angularjs module. Try it out.

Address Search

Returns location JSON:

{
  "input_index": 0,
  "candidate_index": 0,
  "delivery_line_1": "266 Main St",
  "last_line": "Burlington VT 05401-8322",
  "delivery_point_barcode": "054018322663",
  "components": {
    "primary_number": "266",
    "street_name": "Main",
    "street_suffix": "St",
    "city_name": "Burlington",
    "state_abbreviation": "VT",
    "zipcode": "05401",
    "plus4_code": "8322",
    "delivery_point": "66",
    "delivery_point_check_digit": "3"
  },
  "metadata": {
    "record_type": "S",
    "zip_type": "Standard",
    "county_fips": "50007",
    "county_name": "Chittenden",
    "carrier_route": "C035",
    "congressional_district": "AL",
    "rdi": "Commercial",
    "elot_sequence": "0246",
    "elot_sort": "D",
    "latitude": 44.47612,
    "longitude": -73.20948,
    "precision": "Zip9",
    "time_zone": "Eastern",
    "utc_offset": -5,
    "dst": true
  },
  "analysis": {
    "dpv_match_code": "Y",
    "dpv_footnotes": "AABB",
    "dpv_cmra": "N",
    "dpv_vacant": "N",
    "active": "Y"
  }
}

Note: this module requires a token provided by smartystreets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.