pihole_api library
Classes
- PiClientActivityOverTime
- Requests over time, per client.
- PiClientName
- Client IP and, if available, name.
- PiClientNameModel
- PiClientName model.
- PiClientsOverTimeModel
- PiClientActivityOverTime model.
- PiDetails
- Details that are scraped from the admin page.
- PiForwardDestinations
- Upstream servers (e.g. google, 8.8.8.8).
- PiForwardDestinationsModel
- PiForwardDestinations model.
- PiholeApi
- Provides Pi-hole API endpoints.
- PiholeApiDio
-
Implements the Pi-hole API using
Dio
. - PiholeApiFailure
- A failure object thrown by the PiholeApi.
- PiholeApiParams
- A convenience class for API parameters.
- PiholeStatus
- The status of the PiholeApi.
- PiholeStatusDisabled
- PiholeStatusEnabled
- PiholeStatusModel
- PiholeStatus model.
- PiholeStatusSleeping
- PiQueriesOverTime
- PiQueriesOverTimeModel
- PiQueriesOverTime model.
- PiQueryTypes
- Query types (e.g. IPV4, IPV6).
- PiQueryTypesModel
- PiQueryTypes model.
- PiSummary
- Summary data.
- PiSummaryModel
- PiSummary model.
- PiVersions
- Versions.
- PiVersionsModel
- PiVersions model.
- QueryItem
- A single DNS query.
- QueryItemModel
- QueryItem model.
- TopItems
- Most forwarded and blocked domains.
- TopItemsModel
- TopItems model.
Enums
- DnsSecStatus
- DNSSec status.
- QueryStatus
- Query status (e.g. blocked, forwarded).
Constants
- kNoApiTokenNeeded → const String
- The string that counts as the API token on Pi-holes without authentication.