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/ubersmith_client.svg?style=flat

Usage

import ubersmith_client

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

API

ubersmith_client.api.init(url, user, password, timeout, use_http_post)
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_post:

Use POST requests instead of GET

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-1.0.8.tar.gz (10.7 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for python-ubersmithclient-1.0.8.tar.gz
Algorithm Hash digest
SHA256 3e3a2c58f51a3baff2141c4f0989921abe907a7f1ef259c797114ce8c9189049
MD5 4bdd6064d8acbe0a65ffd8276cbc4b8c
BLAKE2b-256 86ffe9a8bc8042b13e898898f5a6f489726591eab0c7c5e7128c70ecdf7981bb

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