{"id":28558707,"url":"https://github.com/integready/stamps-api-client","last_synced_at":"2025-10-14T03:37:47.775Z","repository":{"id":45595802,"uuid":"197030026","full_name":"IntegReady/stamps-api-client","owner":"IntegReady","description":"Stamps API Client for creating shipping labels, envelopes, checking addresses, etc.","archived":false,"fork":false,"pushed_at":"2021-12-06T13:26:09.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T01:26:30.077Z","etag":null,"topics":["api","php","stamps-com"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntegReady.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-15T15:56:57.000Z","updated_at":"2023-03-02T15:24:10.000Z","dependencies_parsed_at":"2022-08-24T11:10:25.741Z","dependency_job_id":null,"html_url":"https://github.com/IntegReady/stamps-api-client","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/IntegReady/stamps-api-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegReady%2Fstamps-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegReady%2Fstamps-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegReady%2Fstamps-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegReady%2Fstamps-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntegReady","download_url":"https://codeload.github.com/IntegReady/stamps-api-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegReady%2Fstamps-api-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017771,"owners_count":26086145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","php","stamps-com"],"created_at":"2025-06-10T08:09:42.728Z","updated_at":"2025-10-14T03:37:47.761Z","avatar_url":"https://github.com/IntegReady.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stamps.com API Client\n\nStamps API Client for creating shipping labels, envelopes, checking addresses, etc.\n\n### Usage\n\n```php\n$to   = []; // Sender's address\n$from = []; // Address of the recipient\n\n$toAddress = (new \\integready\\stamps\\address\\Address())\n    -\u003esetFullname($to['fullname'])\n    -\u003esetAddress1($to['address1'])\n    -\u003esetAddress2($to['address2'])\n    -\u003esetCity($to['city'])\n    -\u003esetState($to['state'])\n    -\u003esetZipcode($to['zipCode'])\n    -\u003esetCountry($to['country']);\n\n$fromAddress = (new \\integready\\stamps\\address\\Address())\n    -\u003esetFullname($from['fullname'])\n    -\u003esetAddress1($from['address1'])\n    -\u003esetAddress2($from['address2'])\n    -\u003esetCity($from['city'])\n    -\u003esetState($from['state'])\n    -\u003esetZipcode($from['zipCode'])\n    -\u003esetCountry($from['country']);\n\ntry {\n    $shippingLabel = (new  \\integready\\stamps\\api\\Envelope())\n        -\u003esetApiUrl(API_URL) // Leave out for default\n        -\u003esetApiIntegrationId(YOUR_API_INTEGRATION_ID)\n        -\u003esetApiUserId(YOUR_API_USER_ID)\n        -\u003esetApiPassword(YOUR_API_PASSWORD)\n        -\u003esetImageType(\\integready\\stamps\\api\\Envelope::IMAGE_TYPE_PNG)\n        -\u003esetPackageType(\\integready\\stamps\\api\\Envelope::RATE_PACKAGE_TYPE_LETTER)\n        -\u003esetServiceType(\\integready\\stamps\\api\\Envelope::RATE_SERVICE_TYPE_US_FC)\n        -\u003esetPrintLayout(\\integready\\stamps\\api\\Envelope::RATE_PRINT_LAYOUT_ENVELOPE10)\n        -\u003esetMode(\\integready\\stamps\\api\\Envelope::MODE_NOPOSTAGE)\n        -\u003esetFrom($fromAddress)\n        -\u003esetTo($toAddress)\n        -\u003esetIsSampleOnly(false)\n        -\u003esetShowPrice(true)\n        -\u003esetWeightOz(100)\n        -\u003esetShipDate(date('Y-m-d'));\n\n    $labelUrl = $shippingLabel-\u003ecreate();\n} catch(Exception $e) {\n    // Handle exception\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegready%2Fstamps-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegready%2Fstamps-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegready%2Fstamps-api-client/lists"}