Yper SDK php to connect with yper api shipping methode. for all information check this link https://docs.yper.io/
Via Composer
$ composer require sr-expert/ypersdk-php
require "../vendor/autoload.php";
$api=new Yper\SDK\ApiClient(
"base_url",
"client_id",
"client_secret",
"scope",
"grant_type",
"pro_id",
"pro_secret_token",
"retail_point_id"
);
$sevice = new Yper\SDK\Service\Retailpoint($api);
$result = $sevice->getMissionTemplates();
print_r($result);
#for other service you can use
$sevice = new Yper\SDK\Service\xxx($api);
#if path or methode not in service you ca use directly
$api->requestApi("GET|POST", $path, paramGet = array(), $paramPost = array());
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email @example.com instead of using the issue tracker.
- rajafallah@gmailcom
- All Contributors
The MIT License (MIT). Please see License File for more information.