Open RobXYZ opened 1 month ago
This does break other brands as you can see from the failed test build, that calls a real car.
This code will need to be aligned to existing if close enough logic, which it appears to be. If drastically different a new class needs to be defined.
This is a fix for #514
I initially tried to adjust the existing auth flow but couldn’t get it to work so started from scratch. I recorded the API and reproduced the HTTP requests in a test script then incorporated it. I am not sure if all steps are required.
Apologies if the code is messy, I don’t fully understand the API or library and used ChatGPT to mash it all together. This code works for Genesis but may have broken the other brands. Hopefully it’s a start and someone with better knowledge and skills can take a look through and tidy it up or suggest changes before merging.