New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cargurus-listings-fetcher

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cargurus-listings-fetcher

Fetch listings from cargurus.com for a particular make/model

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cargurus listings fetcher

This is a tool to fetch all the listings from cargurus.com for a particular car make/model (selectedEntity/carCode) by zip code and distance from that zip code. It's mainly to solve the problem of not knowing when a listing is posted and having to manually scan through every so often.

Note: selectedEntity seems to be an internal id for cargurus. The only id (in example below) I have currently is for an Mitsubishi Evo X.

How to run it / Example

You can run it with the following node command. It uses env variables for the zip, distance (in miles), carCode (or selectedEntity), transmission (A or M, optional).

zip=10001 distance=100 carCode=d423 node example.js
zip=10001 distance=100 carCode=d423 transmission=M node example.js
zip=10001 distance=100 carCode=d423 transmission=A node example.js

Cargurus API body

The API properties below are what you can pass into the Cargurus API request. At the moment only the following are supported:

  zip
  distance
  selectedEntity
  transmission

All other properties available:

  address
  latitude
  longitude
  entitySelectingHelper.selectedEntity2
  minPrice
  maxPrice
  minMileage
  maxMileage
  bodyTypeGroup
  serviceProvider
  page
  filterBySourcesString
  filterFeaturedBySourcesString
  displayFeaturedListings=true&
  searchSeoPageType
  inventorySearchWidgetType
  allYearsForTrimName
  daysOnMarketMin
  daysOnMarketMax
  vehicleDamageCategoriesRaw
  minCo2Emission
  maxCo2Emission
  vatOnly
  minEngineDisplacement
  maxEngineDisplacement
  minMpg
  maxMpg
  minEnginePower
  maxEnginePower
  isRecentSearchView

Keywords

FAQs

Package last updated on 29 Sep 2018

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc