teslatte/src
gak 8c059769ee
refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait.
Significant refactor to progress towards different API access that Tesla
has introduced. See issues #6 and #7.

Removed `ResponseData` because it wasn't very ergonomic, forcing the user
to deref or call data(). Also it had specific fields for JSON output
which was only used for the CLI, so I introduced a field
`print_responses` in OwnerApi that the CLI can use.
2023-10-22 09:17:32 +11:00
..
cli refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
auth.rs refactor: Api -> OwnerApi 2023-10-20 12:18:38 +11:00
cli.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
energy_sites.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
error.rs feat: cli show json on POST and some errors 2023-08-29 16:13:43 +10:00
lib.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
main.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
powerwall.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
products.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00
vehicles.rs refactor!: Rename Api to OwnerApi. Remove ResponseData<T>. Add VehicleApi trait. 2023-10-22 09:17:32 +11:00