Webador / sendcloud

Provides a PHP client to interact with the SendCloud API in an object-oriented way.
MIT License
16 stars 15 forks source link

Added getParcelDocument for the /parcels/{id}/documents/{type} endpoint #32

Closed linaori closed 7 months ago

linaori commented 8 months ago

I've added some basic validation of the request parameters based on the Sendcloud API documentation and added a few tests to verify these scenarios. I wasn't sure about codestyle and function imports so based my changes off existing code.

Closes #31