forked from pavelgar/pihello
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Pi-hole API Token. Fix requests.
Necessary due to recent planned changes with the Pi-hole web interface that have now gone into effect: https://pi-hole.net/blog/2022/11/17/upcoming-changes-authentication-for-more-api-endpoints-required/ and pi-hole/web#2411. Most API calls, including 'status' and 'summary', now require the Pi-hole API token, which can be obtained through the Settings > API page. Based on the 2nd link above, there may be some further changes in the future here.
- Loading branch information
1 parent
4d9753f
commit f002dc1
Showing
2 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters