youcanshop / sdk
YouCan Shop SDK
dev-master
2024-01-09 10:08 UTC
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- nesbot/carbon: ^2.68
Requires (Dev)
- phpunit/phpunit: ^9.6
Suggests
- guzzlehttp/guzzle: ^7.0
This package is auto-updated.
Last update: 2024-11-09 11:46:20 UTC
README
This package allows the developer to interact easily with the YouCan Shop API.
Examples
Check the examples
folder for how to use the SDK.
$youCan = YouCan::instance()->setAccessToken(new AccessToken($accessToken, 1)); $data = $youCan->request(ProductEndpoint::index()); // OR $data = $youCan->request(ProductEndpoint::show('product_id'));