Socket
Book a DemoInstallSign in
Socket

@ykmg/tesla-invoice-api-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ykmg/tesla-invoice-api-cli

CLI for downloading tesla charging invoices

1.0.2
latest
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

Tesla Invoice CLI

I got annoyed by downloading the invoices manually. Especially since the feature was added to the mobile app and removed from the website.

Installation

Run:

npm i @ykmg/tesla-invoice-api-cli -g

Usage

You need your VIN and an API-Token in order to run the script. You can export both variables as environment variables "TESLA_API_VIN" and "TESLA_API_TOKEN". Otherwise you will be asked upon script execution.

The script will create a Folder called "invoices" at the location from where it is called.

To tun the script just call

tesla-invoice-cli download

Obtaining a Token

There are multiple apps available to securely generate access tokens yourself, for example:

  • Auth app for Tesla (iOS, macOS)
  • Tesla Tokens (Android)
  • Tesla Auth (macOS, Linux, Windows)

Tested on MacOS. Should also run seemlessly on Linux. Windows is untested.

ko-fi

Have fun :)

FAQs

Package last updated on 27 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.