Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 814 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 814 Bytes

Crpt nc api client

This PHP package is automatically generated by the OpenAPI Generator

Generate

  • Update docs/crpt-nc-api.yaml
  • Run:
make generate
Available options:

i - input openapi/swagger documentation (docs/crpt-nc-api.yaml by default)

Test

make test

Fix

make fix

Usage with Symfony

    Lamoda\CrptNcApiClient\Configuration:
        calls:
            - setApiKey: ['apikey', API_KEY]
            - setHost: ['https://апи.национальный-каталог.рф/v3'] 
            # By default "https://api.integrators.nk.crpt.tech/v3"

    Lamoda\CrptNcApiClient\Api\CrptNcApi:
        arguments:
            $config: '@Lamoda\CrptNcApiClient\Configuration'