2017 © Pedro Peláez
 

library spsr-shipment

API for SPSR-EXPRESS shipping

image

stp/spsr-shipment

API for SPSR-EXPRESS shipping

  • Friday, April 24, 2015
  • by AStepanov
  • Repository
  • 3 Watchers
  • 6 Stars
  • 109 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

SPSR PHP WRAPPER

This project aims to provide a PHP wrapper for SPSR API., (*1)

Installation

The preferred way to install is through composer., (*2)

Either run, (*3)

composer require "stp/spsr-shipment *"

or add, (*4)

{
    "require": {
        "stp/spsr-shipment": "*"
    }
}

to the require section of your composer.json., (*5)

Usage

Constructing the Client

use stp\spsr\SpsrApi;

$api = new SpsrApi($login, $password, $icn);

Create request

Every API method has the same variable name as in official documentation., (*6)


use stp\spsr\message\GetCitiesMessage, stp\spsr\response\City; $msg = new GetCitiesMessage(); $msg->CityName = 'Москва'; /** @var City[] $cities */ $cities = $api->request($msg);

For more information, see USAGE.md, (*7)

Implemented API Methods

Pull requests are very welcome!

The Versions

24/04 2015

dev-master

9999999-dev https://github.com/AStepanov/spsr-shipment

API for SPSR-EXPRESS shipping

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-simplexml *
  • ext-curl *

 

The Development Requires

by Andrey Stepanov

api shipping delivery shipments spsr

24/04 2015

v0.1.1

0.1.1.0 https://github.com/AStepanov/spsr-shipment

API for SPSR-EXPRESS shipping

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-simplexml *
  • ext-curl *

 

The Development Requires

by Andrey Stepanov

api shipping delivery shipments spsr

06/04 2015

v0.1.0

0.1.0.0 https://github.com/AStepanov

API for SPSR-EXPRESS shipping

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-simplexml *
  • ext-curl *

 

The Development Requires

by Andrey Stepanov

api shipping delivery