{"id":40525135,"url":"https://github.com/saintsweeto/nz-post","last_synced_at":"2026-01-20T21:32:15.550Z","repository":{"id":57047774,"uuid":"293376444","full_name":"saintsweeto/nz-post","owner":"saintsweeto","description":"A PHP wrapper for NZ Post API","archived":false,"fork":false,"pushed_at":"2020-09-07T06:38:49.000Z","size":10,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T11:02:03.553Z","etag":null,"topics":["nz-post","php-wrapper"],"latest_commit_sha":null,"homepage":"https://www.nzpost.co.nz","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saintsweeto.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}},"created_at":"2020-09-06T23:10:09.000Z","updated_at":"2022-10-11T22:25:34.000Z","dependencies_parsed_at":"2022-08-23T18:50:58.845Z","dependency_job_id":null,"html_url":"https://github.com/saintsweeto/nz-post","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/saintsweeto/nz-post","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintsweeto%2Fnz-post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintsweeto%2Fnz-post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintsweeto%2Fnz-post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintsweeto%2Fnz-post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saintsweeto","download_url":"https://codeload.github.com/saintsweeto/nz-post/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saintsweeto%2Fnz-post/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28614577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"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":["nz-post","php-wrapper"],"created_at":"2026-01-20T21:32:15.462Z","updated_at":"2026-01-20T21:32:15.538Z","avatar_url":"https://github.com/saintsweeto.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NZ Post\nA PHP wrapper for NZ Post API\n\n## ParcelAddress API\n[API specification summary](https://anypoint.mulesoft.com/exchange/portals/nz-post-group/b8271f09-2ad8-4e1c-b6b1-322c5727d148/parceladdress-api/minor/1.0/console/summary/)\n\n#### Initialization\n```\n$parcel = new ParcelAddress(CLIENT_ID, CLIENT_SECRET);\n```\n\n#### Search for address\nReturns a list of suggested domestic addresses for an address fragment.\n```\n$parcel-\u003esearchForAddress(address, count);\n```\n\n#### Get address detail by address id\nReturns the detailed information for a single domestic address identifier.\n```\n$parcel-\u003egetAddressByAddressId(address_id');\n```\n\n#### Get address detail by dpid\nReturns the detailed information for a single dpid.\n```\n$parcel-\u003egetAddressByDpid(dpid);\n```\n\n#### Domestic suburbs suggestion\nReturns a list of suggested domestic suburbs for a suburb fragment.\n```\n$parcel-\u003esearchForSuburbs(address, count);\n```\n\n#### Collection locations\nReturns a list of parcel collection points nearest to the coordinates provided.\n```\n$parcel-\u003egetCollectionLocations(lat, long, count);\n```\n\n#### Search for international address\nReturns a list of suggested addresses for a given country code and address fragment.\n```\n$parcel-\u003esearchForInternationalAddress(address, country_code, count);\n```\n\n#### Get international address detail\nReturns the detailed information for a single international address identifier.\n```\n$parcel-\u003egetInternationalAddress(address_id);\n```\n\n#### Australian address lookup\nThis resource is intended to be used in conjunction with the Get International Address Detail resource.\n```\n$parcel-\u003egetAustralianAddress(address_id);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaintsweeto%2Fnz-post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaintsweeto%2Fnz-post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaintsweeto%2Fnz-post/lists"}