importubersmith_clientapi=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- 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:
60use_http_get: Use GET requests instead of POST
Default:
False