Did I find the right examples for you? yes no

All Samples(24)  |  Call(23)  |  Derive(0)  |  Import(1)
Object to handle HTTP requests

Although we have greate requests package which can handle the HTTP request
beautifully, we need this class to fit better our need like sending the
requests with authentication information, download files, check HTTP
errors...

Attributes:
    DEFAULT_ENCODING (str): Default encoding for requests
    USER_AGENT (str): HTTP User agent used when sending requests(more...)

src/h/e/hellosign-python-sdk-0.3.8/hellosign_sdk/hsclient.py   hellosign-python-sdk(Download)
from hellosign_sdk.utils.request import HSRequest
from hellosign_sdk.utils.exception import HSException, NoAuthMethod
from hellosign_sdk.utils.exception import HTTPError
from hellosign_sdk.resource.account import Account
from hellosign_sdk.resource.signature_request import SignatureRequest
        """
 
        request = HSRequest(self.auth)
        response = request.post(self.ACCOUNT_CREATE_URL, {
                                'email_address': email, 'password': password})
        """
 
        request = HSRequest(self.auth)
        try:
            response = request.get(self.ACCOUNT_INFO_URL)
 
        """
        request = HSRequest(self.auth)
        try:
            request.post(self.ACCOUNT_UPDATE_URL, {
        """
 
        request = HSRequest(self.auth)
        response = request.get(
            self.SIGNATURE_REQUEST_INFO_URL + signature_request_id)