Socket
Socket
Sign inDemoInstall

tesla-images

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tesla-images

Generate Tesla Model S/3/X/Y 3D photo visualizations


Version published
Weekly downloads
10
decreased by-28.57%
Maintainers
1
Install size
9.71 kB
Created
Weekly downloads
 

Readme

Source
@teslahunt/title

Last version Coverage Status NPM Status

Generate Tesla Model S/3/X/Y 3D photo visualizations.

Install

$ npm install tesla-images --save

Usage

There are two ways for getting Tesla stock images:

  • Tesla sells some vehicles under CPO terms and they have real pictures of it.
  • Tesla has an internal API for generating a 3D visualization of any vehicle (used by their website).

This library combines both techniques providers, fallbacking one in the other one in case stock images are missing (that is the most probable thing).

const teslaImages = require('tesla-images')

;(async () => {
  const images = await teslaImages({
    vin: '5YJSA7H21FF084652',
    modelLetter: 'S',
    optionCodes: ['ADPX2', 'AU01', 'DA02', 'APH1', 'APD2', 'X028']
  })
})()

License

tesla-images © Tesla Hunt, Released under the MIT License.
Authored and maintained by Tesla Hunt with help from contributors.

teslahunt.io · GitHub teslahunt · Twitter @teslahuntio

Keywords

FAQs

Last updated on 02 Mar 2024

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc