If you need create simple script for your Zabbix server,it's can help you.
import pyZabbix
user = "admin"
password = "bob1992"
base_url = "https://192.168.1.244:8080"
app = Zabbix(self, user, password, base_url)
method = "host.get"
params = {
"output": [
"hostid",
"host"
],
"selectInterfaces": [
"interfaceid",
"ip"
]
}
app.get(method, params)