pihole-api
pihole-api copied to clipboard
A python3 wrapper for the pihole api that aims to eventually be a full replacement for the AdminLTE web panel
Hi Ewpratten, In the help it says: Add a domain to one of your lists: pihole.add("black", "google.com") The example blacklists google.com. Replacing black with one of: white, black, wild, regex,...
To check the domains, logged by pihole, along my own database I planned first to get all of them for the last 24 hours. But so far I didn't see...
I'm writing a small project on top of this, and it would be nice to see if the user has succesfully authenticated? Throwing an exception if they haven't.
*This is still work in progress* This PR is both fully redesigning the client API, and adding support for https://github.com/pi-hole/FTL/pull/659
Dear Ewpratten, I found an error in your documentation. The bottom line says: _The example blacklists google.com. Replacing black with one of: white, black, wild, regex, or audit will change...
As I understand, there are 2 distinct APIs supported by pi-hole, but they are not equivalent. The /admin/api.php URL supports all of the query parameters but only interrogates the running...