{"id":34207425,"url":"https://github.com/jeffdoubleyou/go-ups-address","last_synced_at":"2026-03-10T20:31:03.892Z","repository":{"id":83767002,"uuid":"246886165","full_name":"jeffdoubleyou/go-ups-address","owner":"jeffdoubleyou","description":"Golang library for validating addresses with UPS API","archived":false,"fork":false,"pushed_at":"2020-03-16T20:24:08.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-19T00:00:09.209Z","etag":null,"topics":["address","address-validation","go","golang","golang-library","ups"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffdoubleyou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-12T16:52:22.000Z","updated_at":"2020-03-16T20:22:57.000Z","dependencies_parsed_at":"2023-03-12T19:42:12.449Z","dependency_job_id":null,"html_url":"https://github.com/jeffdoubleyou/go-ups-address","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jeffdoubleyou/go-ups-address","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdoubleyou%2Fgo-ups-address","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdoubleyou%2Fgo-ups-address/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdoubleyou%2Fgo-ups-address/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdoubleyou%2Fgo-ups-address/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffdoubleyou","download_url":"https://codeload.github.com/jeffdoubleyou/go-ups-address/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffdoubleyou%2Fgo-ups-address/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30352875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["address","address-validation","go","golang","golang-library","ups"],"created_at":"2025-12-15T20:02:52.403Z","updated_at":"2026-03-10T20:31:03.829Z","avatar_url":"https://github.com/jeffdoubleyou.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-ups-address\nGolang library for validating addresses with UPS API\n\n[![GoDoc](https://godoc.org/github.com/jeffdoubleyou/go-ups-address?status.svg)](https://godoc.org/github.com/jeffdoubleyou/go-ups-address)\n\n## Usage\n\n```\npackage main\n\nimport (\n\t\"fmt\"\n\n\tUPSAddress \"github.com/jeffdoubleyou/go-ups-address\"\n)\n\nfunc main() {\n\tfmt.Println(\"vim-go\")\n\tups := UPSAddress.NewUPSAddress(\"yourusername\", \"yourpassword\", \"0DBCDEFGHIJKL\")\n\taddress := ups.NewAddress(map[string]string{\n\t\t\"AddressLine1\": \"200 Corporate Pointe\",\n\t\t\"AddressLine2\": \"Suite 350\",\n\t\t\"City\":         \"Culver City\",\n\t\t\"StateProv\":    \"CA\",\n\t\t\"PostalCode\":   \"90230\",\n\t\t\"CountryCode\":  \"US\",\n\t})\n\n\tups.Debug(true)\n\n\tv, err := ups.ValidateAddress(address)\n\tif err != nil {\n\t\tfmt.Println(err.Error())\n\t} else {\n\t\tif v.ValidAddress() {\n\t\t\tfmt.Printf(\"The address is valid\\n\")\n\t\t\tfmt.Printf(\"This is a %s address\\n\", v.AddressClassification())\n\t\t} else {\n\t\t\tif v.AmbiguousAddress() {\n\t\t\t\tfirstCandidate := v.Address()\n\t\t\t\tfmt.Printf(\"Maybe try street address: %s\\n\", firstCandidate.AddressLine1)\n\t\t\t}\n\t\t}\n\t}\n\n}\n```\n\n### Available Address Fields\n\n```\ntype Address struct {\n\tAddressLine1       string\n\tAddressLine2       string\n\tAddressLine3       string\n\tCity               string\n\tStateProv          string\n\tPostalCode         string\n\tPostalCodeExtended string\n\tAddressType        string\n\tCountryCode        string\n\tClassification     string\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffdoubleyou%2Fgo-ups-address","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffdoubleyou%2Fgo-ups-address","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffdoubleyou%2Fgo-ups-address/lists"}