1C exchange emulator implements protocol exchange 1C with 1C-Bitrix
- Prepare your 1C-exchange files
- Place python script with exchange files
- Set in script your 1C-Bitrix site host, exchange url, login and password
- 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
- Create image
docker build -t maksze/python-1c-exchange-emulate .
- 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