Socket
Socket
Sign inDemoInstall

@skuareinc/stockx-api

Package Overview
Dependencies
13
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @skuareinc/stockx-api

Stock X Scrapper


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
3.28 MB
Created
Weekly downloads
 

Readme

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

Last updated on 05 Jul 2022

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