Python library for work with EDBO
https://github.com/EldarAliiev/python-edbo-connector
$ git clone https://github.com/EldarAliiev/python-edbo-connector.git
$ cd python-edbo-connector
$ python setup.py install
or with pip:
$ pip install python-edbo-connector
Before usage set some environment variables:
- EDBO_SERVER
- EDBO_USER
- EDBO_PASSWORD
- EDBO_APPLICATION_KEY
For example create edbo_settings.py:
import os
os.environ['EDBO_SERVER'] = '192.168.180.22'
os.environ['EDBO_USER'] = '<EDBO login>'
os.environ['EDBO_PASSWORD'] = '**********'
os.environ['EDBO_APPLICATION_KEY'] = '<Application key>'
And import it to your application:
import edbo_settings
from edbo_connector import EDBOWebApiClient
client = EDBOWebApiClient()
result = client.get_specialities_list()
print(result)
For disable debug output change ECHO_ON environment variable to False. Full list of settings parameters you can find in edbo_connector/config.py.