lamoda / crpt-nc-api-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About


Languages

Language:PHP 99.8%Language:Makefile 0.2%