Commit graph

135 commits

Author SHA1 Message Date
gak 67860eaf99
Update README.md 2023-10-22 08:41:02 +10:00
gak 3e544847ee
ci: Create rust.yml 2023-10-22 08:36:33 +10:00
gak 39627f347e
Merge pull request #8 from gak/7-refactor-api 2023-10-22 08:34:41 +10:00
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
gak a8b58e1157
refactor: Api -> OwnerApi 2023-10-20 12:18:38 +11:00
gak a0cc8bf987
doc: Specify Owner API 2023-10-20 11:09:52 +10:00
gak 304c21c8d3
docs: mention fleet api in README 2023-10-20 12:00:06 +11:00
gak 07b056bb87
chore: v0.1.7 2023-10-20 09:33:21 +11:00
gak 5380e118be
chore: wake_up note in changelog 2023-10-20 09:31:53 +11:00
gak 3c71bbe65e
chore: cargo upgrade 2023-10-20 08:15:06 +11:00
gak 68d44c4f58
chore: cargo audit in justfile 2023-10-20 08:11:23 +11:00
gak 54e6b80675
chore: changelog for 0.1.7 2023-10-20 08:10:35 +11:00
gak c8360877e9
Create dependabot.yml 2023-10-20 07:10:10 +10:00
gak 2cb7e678d7
fix: RequestData GET -> Get 2023-10-20 07:18:01 +11:00
gak bb7549c9d6
Merge pull request #5 from ulrichard/feature/test_external
* New API calls around HVAC, Door locking, Keyless driving.
* `ClimateState.inside_temp` now `Optional`
* Trim padded spaces around access token string
2023-10-20 06:08:30 +10:00
Richard Ulrich 3d583f7e0b
adding commands for doors and hvac
making inside_temp optional
2023-10-19 19:51:20 +02:00
gak c22dacd40d
chore: changelog for last commit 2023-10-10 13:48:29 +11:00
gak 041deeb3a6
refactor: RequestData private, GET->Get etc. Docs. 2023-10-10 13:45:31 +11:00
gak a3f941544d
Update README.md emoji with ☀️ 2023-10-10 11:54:03 +10:00
gak 95aa04644f
chore: v0.1.6 2023-10-10 12:45:44 +11:00
gak 504c052d68
chore: changelog for release 2023-10-10 12:45:07 +11:00
gak ca20273402
chore: add justfile auth command shortcut 2023-10-10 12:44:40 +11:00
gak a757a68207
Merge pull request #4 from ulrichard/feature/test_external
Making more fields optional. Adding more test data in separate files
2023-10-10 07:28:33 +10:00
Richard Ulrich 6577e4cc65
Making more fields optional. Adding more test data in separate files 2023-10-09 22:53:41 +02:00
gak ac033ea1a5
doc: Cargo.toml description 2023-09-21 10:02:48 +10:00
gak 46e7e6f125
chore: more readme warnings 2023-09-20 13:56:36 +10:00
gak 980ec67ae2
chore: readme badges 2023-09-20 13:53:19 +10:00
gak 310c669448
chore: v0.1.5 2023-09-20 13:26:39 +10:00
gak edc8443bbc
chore: initial changelog 2023-09-20 13:25:54 +10:00
gak 1930fb7e60
Merge pull request #3 from ulrichard/feature/models 2023-09-20 13:15:13 +10:00
Richard Ulrich cbb8da633b
Adapted to the values I get for my Model S 2023-09-19 21:52:00 +02:00
gak e367c9345d
chore: v0.1.4 2023-09-05 13:52:39 +10:00
gak a64a04e3d7
feat: rename and add api calls (energy_sites)
- rename api/cli energy_sites to products (to match the api)
- add energy_sites site_status
- add energy_sites live_status
- add energy_sites site_info
2023-09-05 13:48:16 +10:00
gak cc01e30c63
docs: readme updates 2023-08-30 20:19:50 +10:00
gak 6685072ea4
chore: v0.1.3 2023-08-30 20:15:31 +10:00
gak d29e842035
refactor: separate from_interactive_url to pub fn 2023-08-30 20:13:51 +10:00
gak 0057ae3be2
feat: honk and flash 2023-08-30 16:19:19 +10:00
gak 8b96ecf3bc
feat: set_scheduled_departure 2023-08-30 16:15:17 +10:00
gak 67058aab47
chore: also push before publish 2023-08-30 15:57:57 +10:00
gak 969622f178
chore: make sure repo is clean before publish 2023-08-30 15:57:25 +10:00
gak d32c84a056
chore: v0.1.2 2023-08-30 15:56:40 +10:00
gak 53f11655a9
chore: bsd sed 2023-08-30 15:56:25 +10:00
gak 473bb25061
feat: release easier 2023-08-30 15:54:22 +10:00
gak cb8df6019a
feat: added set_scheduled_charging 2023-08-30 15:46:16 +10:00
gak 844583a6b1
refactor: reuse POST request structs for cli 2023-08-30 15:27:17 +10:00
gak 68b835124f
feat: added vehicle charge related apis 2023-08-30 15:14:33 +10:00
gak 78ed8a9477
fix: #2 tesla removed this endpoint 2023-08-30 14:39:12 +10:00
gak 5e40f2cf52
feat: slightly cleaner tracing output 2023-08-30 14:26:01 +10:00
gak 5c018e9f8d
refactor: request tweaks 2023-08-30 14:04:46 +10:00
gak 9fe18ab1b0
refactor: bring body into request() 2023-08-30 13:39:03 +10:00