YouCan Shop SDK

Maintainers

Package info

github.com/youcan-shop/youcan-shop-php-sdk

pkg:composer/youcanshop/sdk

Statistics

Installs: 19

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

dev-master 2024-01-09 10:08 UTC

This package is auto-updated.

Last update: 2026-03-09 14:35:32 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'));