跳转到主要内容

另一个ubersmith库

项目描述

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

用法

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:

API的URL

示例: http://ubersmith.example.org/api/2.0/

user:

API用户名

password:

API密码或令牌

timeout:

请求的API超时(类型:浮点数)

默认: 60

use_http_get:

使用GET请求代替POST

默认: False

项目详细信息


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

python-ubersmithclient-2.0.9.tar.gz (13.0 kB 查看散列)

上传时间

构建分布

python_ubersmithclient-2.0.9-py2.py3-none-any.whl (13.3 kB 查看哈希值)

上传时间 Python 2 Python 3

由以下支持