Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

@woogo/stockx-api

Scrapping product of stockx

  • 1.1.4
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
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

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

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