Metadata-Version: 2.1
Name: python-ubersmithclient
Version: 2.0.9
Summary: Another ubersmith lib
Home-page: https://github.com/internap/python-ubersmithclient
Author: Internap
Author-email: opensource@internap.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/x-rst; charset=UTF-8
License-File: LICENSE
License-File: AUTHORS

Ubersmith API Client for Python
===============================

.. image:: https://travis-ci.org/internap/python-ubersmithclient.svg?branch=master
    :target: https://travis-ci.org/internap/python-ubersmithclient

.. image:: https://img.shields.io/pypi/v/python-ubersmithclient.svg?style=flat
    :target: https://pypi.python.org/pypi/python-ubersmithclient

Usage
-----

.. code:: python

    import ubersmith_client

    api = ubersmith_client.api.init(url='http://ubersmith.com/api/2.0/', user='username', password='password')
    api.client.count()
     >>> u'264'
    api.client.latest_client()
     >>> 1265

API
---

**ubersmith_client.api.init(url, user, password, timeout, use_http_get)**
 :url:
   URL of your API

   *Example:* ``http://ubersmith.example.org/api/2.0/``

 :user: API username
 :password: API Password or token
 :timeout: api timeout given to requests (type: float)

   *Default:* ``60``
 :use_http_get:
   Use `GET` requests instead of `POST`

   *Default:* ``False``



