Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rikroe committed Dec 1, 2024
1 parent 9a7a261 commit dcdc238
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/captcha.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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() <https://github.com/bimmerconnected/bimmer_connected/blob/40ba148579da6b45268ea8ed9eb252cbafbe9042/bimmer_connected/cli.py#L328>`_ (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.

0 comments on commit dcdc238

Please sign in to comment.