From 92840ce7777441d3d343bb2c335bc29d3ce99f68 Mon Sep 17 00:00:00 2001 From: rune Date: Thu, 2 Jan 2025 10:35:17 +0100 Subject: [PATCH] Add Option: -a --api --- Option%3A -a --api.-.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Option%3A -a --api.-.md diff --git a/Option%3A -a --api.-.md b/Option%3A -a --api.-.md new file mode 100644 index 0000000..ab6e9d4 --- /dev/null +++ b/Option%3A -a --api.-.md @@ -0,0 +1,11 @@ +This option adds or changes the API key! + +Usage: + +`ddns -a AIzaSyDaGmWKa4JsXZ-HjGw7ISLn_3namBGewQe` + +or + +`ddns --api AIzaSyDaGmWKa4JsXZ-HjGw7ISLn_3namBGewQe` + +If there is no API key present it creates/ stores the key in the local db. If there is an API key presents it updates/rewrites the API key in the db and uses this key from now on. \ No newline at end of file