How to Access API using Knime Platform

Hi Team,

Can anyone help me how to access the Knime API nodes to Get information

Below is the Python version

URL # (https://ashok.aa.abc.people/api.php)

username = input(“u:”).encode(“ascii”)

password = getpass(“p:”).encode(“ascii”)

headers = {‘Content-Type’: ‘application/x-www-form-urlencoded’}

data = {“fields”:“assetid,hostname,dnsdomain,model,osrevision,team,status,Silo,Client,mainappli,Trigrams,Usage,GEO,team,teamincharge”,

“filterlist”: “name”,

“list”: ServerName,

“format”: “json”,

“jsonKey”: [None]}

response =requests.post(‘https://ashok.aa.abc.people/api.php’,

headers=headers,

data=data,

auth=HTTPBasicAuth(username, password))

content = response.json()