Skip to main content

Another ubersmith lib

Project description

https://travis-ci.org/internap/python-ubersmithclient.svg?branch=master https://img.shields.io/pypi/v/python-ubersmithclient.svg?style=flat

Usage

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

Default: 60

use_http_get:

Use GET requests instead of POST

Default: False

Project details


Download files

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

Source Distribution

python-ubersmithclient-2.0.2.tar.gz (10.7 kB view details)

Uploaded Source

File details

Details for the file python-ubersmithclient-2.0.2.tar.gz.

File metadata

File hashes

Hashes for python-ubersmithclient-2.0.2.tar.gz
Algorithm Hash digest
SHA256 1058a41a46b2c1b4b335e02e742ab4c63073a1fcf766cd39dbb4b515fbacb5f3
MD5 4e7c43c16ea0fa8ecdf20a97ca9a0707
BLAKE2b-256 f9e32a0feb0757697699c4204a298499b6754381a9e23d1e0f48d3bd4d7de572

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page