A python based bot, tweeting Pi-hole stats every full hour
Pi Hole Ad-Blocker Tweet Bot
This is a Python3 script bot that tweets out my Pi-Hole daily statistics to my Twitter developer account PIHoleT like total DNS queries blocked, total blocked ads for the current day, the percentage of ads blocked, and how many domains are currently blacklisted. There are more JSON data types associated with Pi-Hole and you can use whatever you want, I just chose the latter for the most accurate and coherent statistics.
This can also be used as a basic template to read and parse JSON data in Python 3, just fill in your URL instead of the one parsing from Pi-Hole.