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 (type: float)

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_ubersmithclient-2.0.9-py2.py3-none-any.whl (13.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: python-ubersmithclient-2.0.9.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for python-ubersmithclient-2.0.9.tar.gz
Algorithm Hash digest
SHA256 633f060c4875b97f969352ac40af714744e3bf16d1ddbb43f6b334cd0f3ab8a5
MD5 d2ed0555d229e4bb4b2604a852585091
BLAKE2b-256 f6f88dd7ae8f6df08b103101dea980719b2edd544a4e4b82aeef5f0111b287dd

See more details on using hashes here.

File details

Details for the file python_ubersmithclient-2.0.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_ubersmithclient-2.0.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 18508182a07d9de0963eddcd7e116d5a645f76e900340af0b9fd9521a92a07b4
MD5 32528b4ef139ae477a5bcf0d0b7eac44
BLAKE2b-256 80e6fcdbce9db2dc0de2f4575f3e755b67da1e9e8c47d07d8fa3b17713d061a9

See more details on using hashes here.

Supported by

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