+1

API Drives need to add filter "lastGood"

kfly212 2 months ago 0

need a better way to filter on the last drives api call.

Need a "lastGood" filter that only returns the last drive. Does not make sense to pull down 22k lines to get a couple data points from the last drive.

Current only Filters:

Optional filters:
dateFrom (Y-m-d) &dateFrom=2023-11-01
dateTo (Y-m-d) &dateTo=2023-11-30

https://www.teslafi.com/history.php?token=xxxxxxxxxxxx&command=drives