Is there an API that I can contact in order to get information about DHCP information. It would be nice to be able to get current connected clients or even an array with their ip addresses and lease times?
Did do a quick search although I couldn't find anything.
Some of the information you are looking for may be available at /etc/pihole/dhcp.leases. It doesn't necessarily reflect connection status, so you may have to correlate that with arp or ip neigh.
Oh awesome; I didn't realise that we were due to a major API update. Fingers crossed that they will produce an API for DHCP; would love to implement into Home Assistant.