riesenia/sps-webship-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

riesenia/sps-webship-api

最新稳定版本:v2.0.0

Composer 安装命令:

composer require riesenia/sps-webship-api

包简介

SPS Webship Api PHP client implementation

README 文档

README

SPS Webship API PHP client implementation. See webservice documentation for details.

Installation

Install the latest version using composer require riesenia/sps-webship-api

Usage

Create API with username and password

use Riesenia\SpsWebship\Api;

$api = new Api($username, $password);

Create shipment

$data = [
    'cod' => [
        'codvalue' => 12.30
    ],
    'insurvalue' => 12.30,
    'notifytype' => 1,
    ...
];

if (!$api->createShipment($shipment)) {
    echo $api->getMessages();
}

Print shipment labels

$url = $api->printShipmentLabels();

if (!$url) {
    echo $api->getMessages();
}

Print end of day report

$url = $api->printEndOfDay();

if (!$url) {
    echo $api->getMessages();
}

统计信息

  • 总下载量: 18.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固