{"id":18561076,"url":"https://github.com/lamoda/crpt-oms-api-client","last_synced_at":"2025-04-10T02:31:20.322Z","repository":{"id":35129295,"uuid":"210392565","full_name":"lamoda/crpt-oms-api-client","owner":"lamoda","description":"API client for CRPT OMS","archived":false,"fork":false,"pushed_at":"2024-02-12T09:51:09.000Z","size":38,"stargazers_count":12,"open_issues_count":2,"forks_count":5,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-24T15:42:04.380Z","etag":null,"topics":["api-client","crpt","datamatrix","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lamoda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-23T15:41:19.000Z","updated_at":"2024-06-06T19:49:23.000Z","dependencies_parsed_at":"2024-11-06T22:06:33.946Z","dependency_job_id":"529eed5e-144b-43c1-9557-54f01c291c6e","html_url":"https://github.com/lamoda/crpt-oms-api-client","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamoda%2Fcrpt-oms-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamoda%2Fcrpt-oms-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamoda%2Fcrpt-oms-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamoda%2Fcrpt-oms-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamoda","download_url":"https://codeload.github.com/lamoda/crpt-oms-api-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144198,"owners_count":21054883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","crpt","datamatrix","php"],"created_at":"2024-11-06T22:05:40.620Z","updated_at":"2025-04-10T02:31:19.844Z","avatar_url":"https://github.com/lamoda.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Lamoda CRPT OMS Api Client\n==========================\n\n[![Build Status](https://travis-ci.org/lamoda/crpt-oms-api-client.svg?branch=master)](https://travis-ci.org/lamoda/crpt-oms-api-client)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/badges/build.png?b=master)](https://scrutinizer-ci.com/g/lamoda/crpt-oms-api-client/build-status/master)\n\n## Installation\n\n### Composer\n\n```sh\ncomposer require lamoda/crpt-oms-api-client\n```\n\n## Description\n\nThis library implements API client for the Order Management Station (OMS) of the CRPT (https://crpt.ru/)\n\nLibrary implements V2 version of OMS Api's\n\nCurrently this client implements just a subset of the OMS Api methods.\n\n## Usage\n\n```php\n\u003c?php\n\nuse GuzzleHttp\\Client;\nuse Lamoda\\OmsClient\\Impl\\Serializer\\SymfonySerializerAdapterFactory;\nuse Lamoda\\OmsClient\\V2\\OmsApi;\n\n$client = new Client([\n    // Uri to your OMS\n    'base_uri' =\u003e 'http://oms_uri',\n    'timeout'  =\u003e 2.0,\n]);\n\n$serializer = SymfonySerializerAdapterFactory::create();\n\n$omsApi = new OmsApi($client, $serializer);\n\n/*\n * Call all required methods of API\n */\n// $response = $omsApi-\u003egetICBufferStatus();\n```\n\n## Signing of OMS requests\n\nIt is also possible to send signed OMS requests for orders.\n\nTo do that implement `\\Lamoda\\OmsClient\\V2\\Signer\\SignerInterface`. \n\nSigner must return signature for the given data (no data itself transformation is required).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamoda%2Fcrpt-oms-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamoda%2Fcrpt-oms-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamoda%2Fcrpt-oms-api-client/lists"}