If there was a RESTful (or similar) API, it would open the world to accessing the Pi-hole. A developer could write an extension that could turn the Pi-hole off and on; add sites to the white and blacklist or change the blocklists.
The two way nature of an API could be useful in showing stats without having the need to have a web browser open.
pi@noads:~ $ surfraw duckduckgo -l pihole restful api
Announcing Our RESTful API — Contributions Welcome – Pi-hole®: A blac (p1 of 9)
Link: prev: What Really Happens On Your Network? Part Eight
Link: next: Pi-hole As A Snapcraft Package
Pi-hole®: A black hole for Internet advertisements
* Log in with Discourse
* My Account