{"id":42238918,"url":"https://github.com/best-brands/sendcloud-shipping-api","last_synced_at":"2026-01-27T03:48:08.185Z","repository":{"id":37529997,"uuid":"271787010","full_name":"best-brands/sendcloud-shipping-api","owner":"best-brands","description":" A SendCloud API client with full object mapping ","archived":false,"fork":false,"pushed_at":"2023-04-19T20:08:40.000Z","size":65,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T18:48:46.525Z","etag":null,"topics":["api-client","sendcloud","sendcloud-api"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/harm-smits/sendcloud-shipping-api","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/best-brands.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":"2020-06-12T11:57:31.000Z","updated_at":"2021-12-06T08:15:29.000Z","dependencies_parsed_at":"2022-08-19T06:40:22.144Z","dependency_job_id":null,"html_url":"https://github.com/best-brands/sendcloud-shipping-api","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/best-brands/sendcloud-shipping-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-brands%2Fsendcloud-shipping-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-brands%2Fsendcloud-shipping-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-brands%2Fsendcloud-shipping-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-brands%2Fsendcloud-shipping-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/best-brands","download_url":"https://codeload.github.com/best-brands/sendcloud-shipping-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/best-brands%2Fsendcloud-shipping-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28800366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: 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":["api-client","sendcloud","sendcloud-api"],"created_at":"2026-01-27T03:48:07.387Z","updated_at":"2026-01-27T03:48:08.180Z","avatar_url":"https://github.com/best-brands.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A working API for a shitty API\n\nA simple API that supports almost all calls and which is mapped to objects accordingly.\n\n## Initialize the client as follows and work with the api\n```php\n$client = new \\HarmSmits\\SendCloudClient\\Client(\n    \"...\",\n    \"...\"\n);\n```\n\nGoing over all parcels is really easy:\n```php\n$cursor = null;\nwhile (($result = $client-\u003egetParcels($cursor))) {\n    $cursor = $result-\u003egetNext();\n    foreach ($result-\u003egetParcels() as $parcel) {\n        ...\n    }\n}\n```\n\nStatuses work likewise:\n```php\nforeach ($client-\u003egetParcelStatuses() as $parcelStatus) {\n    ...\n}\n```\n\nSame for brands:\n```php\n$cursor = null;\nwhile (($result = $client-\u003egetBrands($cursor))) {\n    $cursor = $result-\u003egetNext();\n    foreach ($result-\u003egetBrands() as $brand) {\n        ...\n    }\n}\n```\n\nEverything can be done asynchronously as well\n```php\n$promise = $client-\u003easyncGetParcelStatuses();\n...\n$result = $promise-\u003ewait();\n```\n\n## The following methods can be used directly from the client, suffix with `Async` if you want to get a promise.\n\n* getParcels\n* getParcel\n* createParcel\n* createParcels\n* updateParcel\n* cancelOrDeleteParcel\n* getParcelReturnPortalUrl\n* getParcelDocuments\n* getParcelStatuses\n* getReturns\n* getReturn\n* getBrands\n* getBrand\n* getShippingMethods\n* getShippingMethod\n* getPdfLabel\n* getBulkPdfLabel\n* getUser\n* getInvoices\n* getInvoice\n* getSenderAddresses\n* getSenderAddress\n* getIntegrations\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbest-brands%2Fsendcloud-shipping-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbest-brands%2Fsendcloud-shipping-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbest-brands%2Fsendcloud-shipping-api/lists"}