Commit graph

148 commits

Author SHA1 Message Date
gak 10fe1969c2
wip(tesla_api_coverage): initial API.md generated! 2023-10-25 14:44:34 +11:00
gak 4f24db9bdb
wip(tesla_api_coverage): rename keys based on similar urls 2023-10-25 13:46:42 +11:00
gak 9d4d7804a2
wip(tesla_api_coverage): more massaging of endpoints 2023-10-25 12:24:36 +11:00
gak d66f15a91e
wip(tesla_api_coverage): teslatte endpoint done, shows all counts 2023-10-25 07:56:01 +11:00
gak 20b02d8b86
wip(tesla_api_coverage): more tests 2023-10-24 12:40:44 +11:00
gak 85ca49b49d
wip(tesla_api_coverage): broken, but wip parse teslatte endpoints 2023-10-24 12:30:48 +11:00
gak 3f7df753b1
wip(tesla_api_coverage): start to compare api 2023-10-23 16:17:50 +11:00
gak d0b8f6df67
wip(tesla_api_coverage): scrape vehicle command 2023-10-23 14:25:33 +11:00
gak 503effc7ef
wip: A tool to scrape the fleet api website 2023-10-22 14:47:06 +11:00
gak 65f13033a6
docs: woops, random ` in readme 2023-10-22 10:45:55 +11:00
gak d561b94051
chore: nightly notes and rust-toolchain 2023-10-22 10:45:03 +11:00
gak 0627ee2c16
fix!: Remove async_fn_in_trait feature. Ignore warning.
This is because the latest nightly doesn't require the feature and it
added a warning for public async traits and not sure how to properly
handle it yet.
2023-10-22 10:23:33 +11:00
gak 08a6d6abb1
ci: action to use rust nightly 2023-10-22 08:42:59 +10:00
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