README.md in pihole-api-0.0.4 vs README.md in pihole-api-0.0.5

- old
+ new

@@ -43,17 +43,20 @@ # Some example calls client.type ``` -Double hash web password to get the api_token. A helper method exists on the client to do this: +Double hash web password to get the api_token. +A helper method exists on the client to do this: ```ruby require 'pihole-api' api_token = PiholeApi::Client.hash_password(password) end ``` +However the client now generates the API token automatically from the given password + ### Endpoints #### Authorised - `summary_raw` - `summary(params: {})` - `over_time_data_10_mins` @@ -64,9 +67,12 @@ - `get_query_types` - `get_all_queries(params: {}, from_time: nil, until_time: nil, latest_number_of_items: nil)` - `recent_blocked` - `enable` - `disable` +#### Authorised Non API +- auth_form_token +- `teleport(whitelist: true, regex_whitelist: true, blacklist: true, regexlist: true, adlist: true, client: true, group: true, auditlog: true, staticdhcpleases: true, localdnsrecords: true, localcnamerecords: true, flushtables: true)` #### Unauthorised - `type` - `version`