renault-api
renault-api copied to clipboard
SendNavigation endpoint
I don't know if this is already known, anyway I just successfully reverse-engineered SendNavigation endpoint:
actions/send-navigation
{
"data": {
"type": "SendNavigation",
"attributes": {
"downloadTrafficInfo": false, // true/false or 0/1
"destinations": [ // Server note: "size must be between 1 and 5"
{
"id": 1, // Server note: "must be between 1 and 5"
"latitude": 42,
"longitude": 12,
"calculationCondition": 0 // (Server notes: "must be between 0 and 3") (Probably "shorter", "faster", "eco",...)
}
]
}
}
}
}
Not yet checked what happened onboard...