File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed
tesla_fleet_api/teslemetry Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -300,26 +300,6 @@ async def main():
300300asyncio.run(main())
301301```
302302
303- ## Get Vehicle Image
304-
305- The ` vehicle_image ` method gets the redirect URL to the Tesla Design Studio image of the vehicle.
306-
307- ``` python
308- async def main ():
309- async with aiohttp.ClientSession() as session:
310- teslemetry = Teslemetry(
311- session = session,
312- access_token = " <access_token>" ,
313- )
314-
315- vin = " <vin>"
316-
317- response = await teslemetry.vehicle_image(vin)
318- print (response)
319-
320- asyncio.run(main())
321- ```
322-
323303## Vehicle Custom Commands
324304
325305### Clear PIN to Drive
Original file line number Diff line number Diff line change @@ -194,14 +194,3 @@ async def create_streaming_config(
194194 f"api/config/{ vin } " ,
195195 json = {"fields" : fields },
196196 )
197-
198- async def vehicle_image (self , vin : str ) -> dict [str , Any ]:
199- """Get redirect URL to Tesla Design Studio image of the vehicle.
200-
201- Args:
202- vin: Vehicle identification number
203- """
204- return await self ._request (
205- Method .GET ,
206- f"api/image/{ vin } " ,
207- )
You can’t perform that action at this time.
0 commit comments