Skip to main content

Python connector for EDBO based on python-requests

Project description

https://img.shields.io/pypi/v/python-edbo-connector.svg https://img.shields.io/pypi/l/python-edbo-connector.svg https://img.shields.io/pypi/pyversions/python-edbo-connector.svg https://img.shields.io/pypi/wheel/python-edbo-connector.svg https://img.shields.io/pypi/status/python-edbo-connector.svg https://travis-ci.org/EldarAliiev/python-edbo-connector.svg?branch=master https://img.shields.io/github/contributors/EldarAliiev/python-edbo-connector.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-edbo-connector, version 1.0.4.post13
Filename, size File type Python version Upload date Hashes
Filename, size python_edbo_connector-1.0.4.post13-py3-none-any.whl (14.9 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size python-edbo-connector-1.0.4.post13.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page