Python API

Hello all

I am using Pi Hole for a long time.
I've noticed that there are no good / complete / up-to-date API integration module for python.
So I've created one.

This is my first version of the API (called APiHole), and you all welcome to implement, play and comment.

GitHub page

PyPi page

Be aware of the upcoming Pi-hole v6.0 which is almost feature complete and will likely enter a public beta soon :tm: (to be understood as in: the next few months).

You can find the documentation of the altogether new API here:

1 Like


Thanks for the heads up.
I will learn the new methods for v 6
If needed and when the version released to public, I will modify my code

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.