From dcdc23812a4989d16e8ca03dfca5959dfd7d6133 Mon Sep 17 00:00:00 2001 From: Richard <42204099+rikroe@users.noreply.github.com> Date: Sun, 1 Dec 2024 15:30:55 +0100 Subject: [PATCH] Update docs --- docs/source/captcha.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/captcha.rst b/docs/source/captcha.rst index eb6b5da..9301e23 100644 --- a/docs/source/captcha.rst +++ b/docs/source/captcha.rst @@ -60,7 +60,8 @@ Using the Python API 3. **Subsequent Logins**: Ensure to keep the current :code:`MyBMWAccount` instance in memory to avoid having to solve the captcha again. - For storing the data across restarts, an example implementation can be found in `bimmerconnected.main() `_ (with :code:`args.oauth_store` being a :code:`pathlib.Path()` object). + For storing the data across restarts, an example implementation can be found in :code:`bimmerconnected.cli.main()` with + :code:`load_oauth_store_from_file()` and :code:`store_oauth_store_to_file()`. If you are running this script inside another system (e.g. domoticz), you can also store and read the information using their native tools - it does not have to be a JSON file, as long as the data is stored and read correctly.