Avec le VIN 208 : Curl http://192.168.1.131:5000/get_vehicleinfo/VIN 208?from_cache=1
J’obtiens çà :
C:\>Curl http://192.168.1.131:5000/get_vehicleinfo/VIN 208?from_cache=1
{"embedded": null, "links": {"_self": {"deprecation": null, "href": "https://api.groupe-psa.com/connectedcar/v4/user/vehicles/1566c497a5655686153316861544651774d7a4d314f544d6a497a45324e54526a4e325a6d597a633259545a695a54566a4f44417a4e7a566a4d6a6c6a4d4467324d4463334f574e6a597a526d4d6d59344e7a67324f444a6c5a6d45325a4463775a544a6a596d4a6b597a64695957553d/status", "hreflang": null, "name": null, "profile": null, "templated": null, "title": null, "type": null}, "vehicle": null}, "battery": {"current": 0.0, "voltage": 90.0}, "doors_state": null, "energy": [{"updated_at": "2022-09-17 07:01:26+00:00", "autonomy": 234.0, "battery": null, "charging": {"charging_mode": "No", "charging_rate": 0, "next_delayed_time": "PT22H", "plugged": false, "remaining_time": "PT0S", "status": "Disconnected"}, "consumption": null, "level": 80.0, "residual": null, "type": "Electric"}, {"updated_at": "2021-09-15 10:24:24+00:00", "autonomy": null, "battery": null, "charging": null, "consumption": null, "level": 0.0, "residual": null, "type": "Fuel"}], "environment": null, "ignition": null, "kinetic": {"acceleration": null, "moving": null, "pace": null, "speed": null}, "last_position": {"type": "Feature", "geometry": {"coordinates": [null, null, null], "type": "Point"}, "properties": {"heading": null, "signal_quality": null, "type": null, "updated_at": null}}, "preconditionning": {"air_conditioning": {"failure_cause": null, "programs": null, "status": "Disabled", "updated_at": "2022-09-17 07:01:26+00:00"}}, "privacy": {"state": "None"}, "safety": null, "service": {"type": "Electric", "updated_at": "2022-09-17 07:01:26+00:00"}, "timed_odometer": {"updated_at": null, "mileage": 16425.6}}C:\>
Mais rien si je change avec le VIN de ma C5
Curl http://192.168.1.131:5000/get_vehicleinfo/VIN C5?from_cache=1
Je cache mes VIN a chaque mais je ne sais pas si c’est important 