def METHOD_NAME(self, method, item, params):
    url = f'{self.baseurl}/json'
    header = { 'referer' : url, 'Accept' : 'application/json' }
    params['version'] = '2.231'
    data = { 'id' : 0, 'method' : method, 'params' : [[item], params] }
    result = self.session.post(url, headers=header, json=data, verify=self.sslcert)
    if result.status_code == 401:
        self.auth_repeat()
        result = self.session.post(url, headers=header, json=data, verify=self.sslcert)
    result = result.json()
    if result.get('result') is None:
        result = { 'result' : None, 'failed' : None, 'error' : result['error'] }
    else:
        result = { 'result' : result['result'].get('result'), 'failed' : result['result'].get('failed'), 'error' : None }
    return result