Skip to content
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

Support New Astra (Opel) #22

Open
dsergent opened this issue Aug 25, 2023 · 1 comment
Open

Support New Astra (Opel) #22

dsergent opened this issue Aug 25, 2023 · 1 comment

Comments

@dsergent
Copy link

Bonjour et merci pour le plugin !
J'ai une Opel Atra PHEV et j'ai pu configurer le plugin. Il semble juste que ce véhicule ne soit pas encore supporté :

0146|2023-08-25 11:36:00,525 :: WARNING :: Can't get car model, please report an issue on github with your car model and first ten letter of your VIN : VXKF3DGXTP

@dsergent
Copy link
Author

dsergent commented Sep 6, 2023

J'ai trouvé que le chemin JSON pour récupérer les images de mon Astra n'est pas celui qui est dans le code actuellement. Dans peugeotcars_api3.class.php ligne 334 on a :
$retf["pictures"] = $ret["result"]->_embedded->vehicles[$veh]->pictures;
Dans mon cas, il faut :
$retf["pictures"] = $ret["result"]->_embedded->vehicles[$veh]->vehicleExtension->vehiclePictures->pictures;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant