pathristikon / dsuniq-sdk
DsUniq SDK
dev-master
2020-04-19 10:51 UTC
Requires
- ext-curl: *
- ext-json: *
This package is auto-updated.
Last update: 2026-02-20 00:02:46 UTC
README
Installation
composer require pathristikon/dsuniq-sdk
Usage
- initialize an object
Dsuniq\DsuniqSdk\Configwith parameter string apiToken - initialize an object
Dsuniq\DsuniqSdk\ApiHandlerwhich will handle all your requests - use
apihandler->getProducts()to fetch the first page of your products - if you already fetched the products, use
apihandler->getTotalPagesto get all the pages you can iterate - if you have more than one page, use
apihandler->getProducts(2)to get the page number 2 - if you want to see the mapped categories, use
apihandler->getCategories()
Disclaimer
For internal use only!