tesla: Tesla API client.

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.1, 0.3.1.0, 0.4.0.0, 0.4.1.0, 0.4.1.1, 0.4.1.2, 0.4.1.3, 0.5.0.0, 0.5.1.0, 0.5.2.0, 0.5.2.1, 0.6.0.0, 0.7.0.0, 0.7.1.0, 0.7.2.0, 0.7.4.0, 0.7.5.0
Change log ChangeLog.md
Dependencies aeson, base (>=4.7 && <5), base64-bytestring, bytestring, casing, containers, cryptonite, exceptions, finite-typelits, generic-deriving, http-client, lens, lens-aeson, memory, monad-logger, mtl, random, retry, tagsoup, template-haskell, text, time, unliftio-core, vector, wreq [details]
License BSD-3-Clause
Copyright MIT
Author Dustin Sallings
Maintainer dustin@spy.net
Category Web
Home page https://github.com/dustin/tesla#readme
Bug tracker https://github.com/dustin/tesla/issues
Source repo head: git clone https://github.com/dustin/tesla
Uploaded by dustin at 2024-09-29T07:21:59Z
Distributions NixOS:0.7.5.0
Downloads 2754 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-09-29 [all 1 reports]

Readme for tesla-0.7.5.0

[back to package description]

tesla

Tesla API for Haskell.

See also: https://tesla-api.timdorr.com/

Authentication

This library used to support authenticating via username and password to get credentials, but Tesla busted that pretty hard.

The best practice at this point is to use something like https://www.teslafi.com/tokenUser.php to get a bearer and refresh token and feed them to the library via fromToken and refreshAuth