LionZXY/FuseEnergyApi ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Kotlin project that acts like a reverse API client for Fuse Energy. I want to be able to sign in with my phone number, get the access and refresh tokens, and then call the Fuse endpoints to pull my account data and reading data. If the OTP flow is awkward, make it easy to plug in the tokens manually from a config file, and include clear examples of the expected JSON.
Please make it simple to run from the command line, with good README instructions for how to authenticate and how to fetch the available stats or half hour data. If you need to look up current docs or inspect the API behavior online, go ahead. I just want something that works reliably and is easy for me to use, with sensible error messages when the token is missing or expired.
Are you gonna build this?
make sure you review the code using coderabbit