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

Add support fot GET /api/1/vehicles/ #273

Closed
jonahwh opened this issue Sep 9, 2021 · 0 comments · Fixed by #275 or GaPhi/TeslaJS#2
Closed

Add support fot GET /api/1/vehicles/ #273

jonahwh opened this issue Sep 9, 2021 · 0 comments · Fixed by #275 or GaPhi/TeslaJS#2

Comments

@jonahwh
Copy link
Contributor

jonahwh commented Sep 9, 2021

See https://tesla-api.timdorr.com/api-basics/vehicles#get-api-1-vehicles-id

Adding this will circumvent the behavior of the existing "vehicle" call that calls "vehicles/" and requires a positional index to retrieve a specific Vehicle.

jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Sep 9, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Sep 9, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Sep 9, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Sep 9, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Nov 25, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Nov 25, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Nov 25, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Nov 25, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
jonahwh added a commit to jonahwh/TeslaJS that referenced this issue Nov 25, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
mseminatore pushed a commit that referenced this issue Dec 21, 2021
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes #273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant