darbiadev_ups
#
A wrapper for UPS’ API
Submodules#
Package Contents#
Classes#
A class wrapping UPS' API. |
- class darbiadev_ups.UPSServices(base_url: str, username: str, password: str, access_license_number: str)[source]#
A class wrapping UPS’ API.
- TRACKING_URL: Final[str] = 'https://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1={tra...'[source]#
- __auth_dict() dict[str, dict[str, dict[str, str]]] [source]#
Return authentication JSON as a dictionary
- make_request(method: str, auth_type: _AuthType, service: str, data: dict[str, Any], timeout: int = 500) dict [source]#
Make a request to UPS’ API