bruxy70/ComAp-API — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python 3.11 project that makes it easy to automate WebSupervisor tasks through the ComAp API. I want something I can configure with a small env file using my ComAp key, client id, secret, and WebSupervisor username, then run a few ready made scripts without much setup.
The main things I want are a script that downloads archived files from every unit on my account, with an optional maximum age in days, and saves them into separate folders for each unit, plus another script that shows each controller’s communication state and current mode so I can quickly spot anything not in AUT. If it makes sense, include a simple helper that runs the archive download for the last 7 days.
Please also include a Jupyter notebook with clear examples and a testing folder with runnable versions of the notebook examples, including some async examples. Keep the code easy to read and practical. You can look up the current ComAp and WebSupervisor docs online if needed.
Want more depth? Deep Reverse