maksze / python-1c-exchange-emulate

1C exchange emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-1c-exchange-emulate

1C exchange emulator implements protocol exchange 1C with 1C-Bitrix

  1. Prepare your 1C-exchange files
  2. Place python script with exchange files
  3. Set in script your 1C-Bitrix site host, exchange url, login and password
  4. Run script: python exchange.py

OR use only command line


  python exchange.py host url login password
        host           - Exchange host without http(s). For example: example.com
        url            - URL to exchange 1C-Bitrix component. For example: /catalog/exchange_1c.php
        login          - Exchange user login
        password       - Exchange user password

OR use docker container

  1. Create image

docker build -t maksze/python-1c-exchange-emulate .
  1. Run in directory with files for exchange

docker run -i -t -v $PWD:/opt/exchange-files maksze/python-1c-exchange-emulate example.com /catalog/exchange_1c.php login password

About

1C exchange emulator


Languages

Language:Python 100.0%