def __init__(self, billomat_id, api_key, app_id, app_secret):
        """
        :param billomat_id: Mostly the name of your company for example https://YOUR_COMPANY.billomat.net/api/
        :param api_key: The api key that you requested from billomat
        :param app_id: The app_id that you requested by billomat
        :param app_secret: The app_secret that you requested by billomat
        """
        self.billomat_id = billomat_id
        self.api_key = api_key
        self.app_id = app_id
        self.app_secret = app_secret

        self.billomat_header = {
            'Accept': 'application/json',
            'Content-Type': 'application/json',
            'X-BillomatApiKey': self.api_key,
            'X-AppId': self.app_id,
            'X-AppSecret': self.app_secret,
        }

        self.api_url = "https://{}.billomat.net/api/".format(billomat_id)
        self.http_client = httpclient.AsyncHTTPClient()
        self.request_counter = 0
        self.responses = []
def __init__ ( self , billomat_id , api_key , app_id , app_secret ) : self . billomat_id = billomat_id self . api_key = api_key self . app_id = app_id self . app_secret = app_secret self . billomat_header = { 'Accept' : 'application/json' , 'Content-Type' : 'application/json' , 'X-BillomatApiKey' : self . api_key , 'X-AppId' : self . app_id , 'X-AppSecret' : self . app_secret , } self . api_url = "https://{}.billomat.net/api/" . format ( billomat_id ) self . http_client = httpclient . AsyncHTTPClient ( ) self . request_counter = 0 self . responses = [ ]
:param billomat_id: Mostly the name of your company for example https://YOUR_COMPANY.billomat.net/api/
        :param api_key: The api key that you requested from billomat
        :param app_id: The app_id that you requested by billomat
        :param app_secret: The app_secret that you requested by billomat