Releases: ultradns/python_rest_api_client
v2.2.3
v2.2.2
_do_call () of the connection does not handle background tasks and ACCEPTED http response codes
New parameter added to RestAPIClient constructor: use_token: bool = False
RestApiClient(bu: str, pr: str = None, use_token: bool = False, use_http: bool =False, host: str = "api.ultradns.com")
Initialize a Rest API Client.
Arguments:
bu (str) -- Either username or bearer token based onuse_token
flag.
pr (str, optional) -- Either password or refresh token based onuse_token
flag. Defaults to None.
use_token (bool, optional) -- If True, treatsbu
as bearer token andpr
as refresh token. Defaults to False.Keyword Arguments:
use_http (bool, optional) -- For internal testing purposes only, lets developers use http instead of https.
host (str) -- Allows you to point to a server other than the production server.Raises:
ValueError -- Ifpr
is not provided whenuse_token
is True.
v2.1.1
updated company and contact information
v2.1.0
python module version increment
Adding v3 support for getting zones
Introduced two new functions get_zones_v3() and get_zone_metadata_v3() in addition to already present functions get_zones() and get_zone_metadata().