Metadata-Version: 2.0
Name: python-edbo-connector
Version: 1.0.4.post13
Summary: Python connector for EDBO based on python-requests
Home-page: https://github.com/EldarAliiev/python-edbo-connector
Author: Eldar Aliiev
Author-email: e.aliiev@vnmu.edu.ua
Maintainer: Eldar Aliiev
Maintainer-email: e.aliiev@vnmu.edu.ua
License: MIT
Download-URL: https://github.com/EldarAliiev/python-edbo-connector/archive/master.zip
Keywords: EDBO,connector,RESTful API,EDBO client
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Communications
Requires-Python: >=3.4
Requires-Dist: setuptools

EDBO-connector
==============

.. image:: https://img.shields.io/pypi/v/python-edbo-connector.svg
    :target: https://pypi.python.org/pypi/python-edbo-connector

.. image:: https://img.shields.io/pypi/l/python-edbo-connector.svg
    :target: https://raw.githubusercontent.com/EldarAliiev/python-edbo-connector/master/LICENSE

.. image:: https://img.shields.io/pypi/pyversions/python-edbo-connector.svg
    :target: https://pypi.python.org/pypi/python-edbo-connector

.. image:: https://img.shields.io/pypi/wheel/python-edbo-connector.svg
    :target: https://pypi.python.org/pypi/python-edbo-connector

.. image:: https://img.shields.io/pypi/status/python-edbo-connector.svg
    :target: https://pypi.python.org/pypi/python-edbo-connector

.. image:: https://travis-ci.org/EldarAliiev/python-edbo-connector.svg?branch=master
    :target: https://travis-ci.org/EldarAliiev/python-edbo-connector

.. image:: https://img.shields.io/github/contributors/EldarAliiev/python-edbo-connector.svg
    :target: https://github.com/EldarAliiev/python-edbo-connector/graphs/contributors



Python library for work with EDBO

https://github.com/EldarAliiev/python-edbo-connector

Install:
--------

.. code-block:: bash

    $ git clone https://github.com/EldarAliiev/python-edbo-connector.git
    $ cd python-edbo-connector
    $ python setup.py install

or with pip:

.. code-block:: bash

    $ 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**:

.. code-block:: python

    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:

.. code-block:: python

    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**.

