2017 © Pedro Peláez
 

library spsr-shipment

API for SPSR-EXPRESS shipping

image

dmitriy12345work/spsr-shipment

API for SPSR-EXPRESS shipping

  • Thursday, September 28, 2017
  • by dmitriy12345work
  • Repository
  • 1 Watchers
  • 0 Stars
  • 76 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 11 Versions
  • 3 % 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!

Documentation russian: SPSR.WebApi.IntegrationDocs.v.1.3.38.zip Documentation english: SPSR.WebApi.IntegrationDocs.v.1.3.38Eng.zip, (*8)

The Versions

28/09 2017

dev-master

9999999-dev https://github.com/dmitriy12345work/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

22/06 2017

v0.1.9

0.1.9.0 https://github.com/dmitriy12345work/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

18/06 2017

v0.1.8

0.1.8.0 https://github.com/dmitriy12345work/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

13/06 2017

v0.1.7

0.1.7.0 https://github.com/dmitriy12345work/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

20/05 2017

v0.1.6

0.1.6.0 https://github.com/dmitriy12345work/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

16/05 2017

v0.1.5

0.1.5.0 https://github.com/dmitriy12345work/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

10/05 2017

v0.1.4

0.1.4.0 https://github.com/dmitriy12345work/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

28/04 2017

v0.1.3

0.1.3.0 https://github.com/dmitriy12345work/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

27/04 2017

v0.1.2

0.1.2.0 https://github.com/dmitriy12345work/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