Another ubersmith lib
Project description
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 (type: float)
Default: 60
- use_http_get:
Use GET requests instead of POST
Default: False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for python-ubersmithclient-2.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253e3f10f174ab058d18386bdf27ec3299a37e61c2d49ecaf0f8e75793ccb5d6 |
|
MD5 | 22d65d28bf59f7cddb58f96506f9e351 |
|
BLAKE2b-256 | 7da32a5d16980a8e14508b9123d445436b64b992050ccb152774b15cd0d771dc |