sr-expert / ypersdk-php
ypersdk api php
v1.0.2
2020-05-27 14:28 UTC
Requires
- php: ~7.2
- guzzlehttp/guzzle: ^6.5
Requires (Dev)
- phpunit/phpunit: >=8.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2025-06-28 02:03:40 UTC
README
Yper SDK php to connect with yper api shipping methode. for all information check this link https://docs.yper.io/
Install
Via Composer
$ composer require sr-expert/ypersdk-php
Usage
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());
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email @example.com instead of using the issue tracker.
Credits
- rajafallah@gmailcom
- All Contributors
License
The MIT License (MIT). Please see License File for more information.