https://github.com/lamoda/crpt-oms-api-client
API client for CRPT OMS
https://github.com/lamoda/crpt-oms-api-client
api-client crpt datamatrix php
Last synced: about 1 year ago
JSON representation
API client for CRPT OMS
- Host: GitHub
- URL: https://github.com/lamoda/crpt-oms-api-client
- Owner: lamoda
- License: mit
- Created: 2019-09-23T15:41:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-12T09:51:09.000Z (over 2 years ago)
- Last Synced: 2025-03-24T15:42:04.380Z (over 1 year ago)
- Topics: api-client, crpt, datamatrix, php
- Language: PHP
- Size: 37.1 KB
- Stars: 12
- Watchers: 20
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Lamoda CRPT OMS Api Client
==========================
[](https://travis-ci.org/lamoda/crpt-oms-api-client)
[](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/?branch=master)
[](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/?branch=master)
[](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/build-status/master)
## Installation
### Composer
```sh
composer require lamoda/crpt-oms-api-client
```
## Description
This library implements API client for the Order Management Station (OMS) of the CRPT (https://crpt.ru/)
Library implements V2 version of OMS Api's
Currently this client implements just a subset of the OMS Api methods.
## Usage
```php
'http://oms_uri',
'timeout' => 2.0,
]);
$serializer = SymfonySerializerAdapterFactory::create();
$omsApi = new OmsApi($client, $serializer);
/*
* Call all required methods of API
*/
// $response = $omsApi->getICBufferStatus();
```
## Signing of OMS requests
It is also possible to send signed OMS requests for orders.
To do that implement `\Lamoda\OmsClient\V2\Signer\SignerInterface`.
Signer must return signature for the given data (no data itself transformation is required).