Python connector for EDBO based on python-requests
Project description
Python library for work with EDBO
https://github.com/EldarAliiev/python-edbo-connector
Install:
$ 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
Usage example:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python-edbo-connector-1.0.4.post13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f392952f78683e1d9f032db05b54924427b041fd03513c29b4362837dc7091f2 |
|
MD5 | b1ea5f1211fad5e4738cefc22964220a |
|
BLAKE2b-256 | 703099bb18522fda54fbd441d92bdc458c40a6a8ba148d7bbe0e8eb3f1ee82dd |
Close
Hashes for python_edbo_connector-1.0.4.post13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ac337535b144f1f8bddc71a88c029aa145d0d71b0374e70aebef5eee6ceca5 |
|
MD5 | 53d7135c49f87f6dd3d6220e21d79756 |
|
BLAKE2b-256 | 1b2fc695e01d19c14fc374761e2a4b48bc13bb9ebce7733effb5a8b0d8349510 |