bogosj / tesla

Provides a wrapper around the API to easily query and command a Telsa car.
Other
23 stars 18 forks source link

Create a new client creation API with functional options. #30

Closed bogosj closed 3 years ago

bogosj commented 3 years ago

Proposed v1.0 client.New interface. This will provide for future functional options to further configure the client. We should remove the other New* functions before tagging v1.0.

bogosj commented 3 years ago

I'd also like feedback from @andig

andig commented 3 years ago

+1, nice interface.

/cc @uhthomas

OT: would still be great to get the authorisation stuff right before tagging 1.0