-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON option not working? #467
Comments
same for me |
The JSON output doesn't apply to the "status" command. If you wish to return JSON, you should query the endpoints individually: renault-api --json http get "/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v2/cars/{vin}/battery-status"
renault-api --json http get "/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/charge-mode"
renault-api --json http get "/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v2/cars/{vin}/cockpit"
renault-api --json http get "/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/location"
renault-api --json http get "/commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/hvac-status" |
We also have this PR open regarding the support for Dacia Spring: #459 |
Note: this is a duplicate of #188 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried:
renault-api --json status
Was expecting JSON output
(and -for my Dacia Spring EV car-: was hoping for more output, especially charge status)
The text was updated successfully, but these errors were encountered: