Skip to content

Releases: ultradns/python_rest_api_client

v2.2.3

03 Dec 14:30
Compare
Choose a tag to compare

adjustments to handling of x-task-id background tasks

v2.2.2

14 Oct 13:29
Compare
Choose a tag to compare

_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 on use_token flag.
pr (str, optional) -- Either password or refresh token based on use_token flag. Defaults to None.
use_token (bool, optional) -- If True, treats bu as bearer token and pr 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 -- If pr is not provided when use_token is True.

v2.1.1

05 Apr 22:49
7c05cd7
Compare
Choose a tag to compare

updated company and contact information

v2.1.0

10 Feb 20:24
Compare
Choose a tag to compare
python module version increment

Adding v3 support for getting zones

13 May 13:32
404eb61
Compare
Choose a tag to compare

Introduced two new functions get_zones_v3() and get_zone_metadata_v3() in addition to already present functions get_zones() and get_zone_metadata().