Socket
Book a DemoInstallSign in
Socket

@woogo/stockx-api

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@woogo/stockx-api

Scrapping product of stockx

unpublished
latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
2
Created
Source

Stock X Api

version download contributions welcome

UnOfficial Stock X Api

Inspiration

This repo was a fork of matthew1232/stockx-api

Features

  • Get Product Details
  • Search Products

Exceptions

You can catch exception below :

  • InvalidInputException
  • InvalidLoginException
  • ForbidenException
  • ItemNotFoundException
  • UnknowException
  • ParsingException

Usage

const stockx = new StockXAPI({
  userAgent: 'MyPreferedUserAgent',
  currencyCode: 'USD',
  countryCode: 'FR',
  proxy: [
    {
      port: 3000,
      host: 'MyPreferedProxy',
    },
  ],
});

const result = await stockx.productDetails('https://stockx.com/fr-fr/reebok-question-mid-packer-shoes-for-player-use-only-lebron');

const search = await stockx.searchProducts('shoes', { limit: 2 });

Interfaces and Enums

  • PRODUCT_TYPE: SNEAKER, BOTTOM, UPPER, WATCH, HANDBAG, UNKNOW
  • Product
  • BaseProduct
  • Variant

Licence

MIT

Keywords

stockx

FAQs

Package last updated on 25 Nov 2021

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