Socket
Book a DemoInstallSign in
Socket

queens-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queens-api

Private API for streetwear store based in Czech Republic

1.0.2
latest
npmnpm
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

So I decided to open-source my private API for Queens.cz - a streetwear store based in Czech Republic as you prolly already know. Currently supporting only CZ region but all products have shared stock so it doesn't really matter.

I might add new functions in future including add-to-cart, checkout or getting products from categories, follow me on GitHub to stay updated!

Installation

npm i queens-api

Examples

var queens = require('queens-api');

queens.product('https://www.queens.cz/wear/94334/156/urban-classics-cargo-jogging-pants/', function(error, details){
    console.log(details)
})

//  [
//   brand: 'Urban Classics',
//   name: 'Urban Classics Cargo Jogging Pants tmavě zelené',
//   color: 'tmavě zelené',
//   sku: 'TB1268',
//   product_code: '052167',
//   price: 'Kč',
//   image: 'https://photos.queens.cz/queens/2019-08/large/urban-classics-cargo-jogging-pants-94334_1.jpg'
// ]

or

var queens = require('queens-api');

queens.sizes('https://www.queens.cz/wear/99091/2/adidas-originals-fyw-98/', function(error, sizes){
    console.log(sizes)
})

// [
//   { size: 'US 7.5 (eur 40 2/3)', variant: '328547' },
//   { size: 'US 8 (eur 41 1/3)', variant: '328548' },
//   { size: 'US 8.5 (eur 42)', variant: '328549' },
//   { size: 'US 9 (eur 42 2/3)', variant: '328550' },
//   { size: 'US 9.5 (eur 43 1/3)', variant: '328551' },
//   { size: 'US 10 (eur 44)', variant: '328552' },
//   { size: 'US 10.5 (eur 44 2/3)', variant: '328553' },
//   { size: 'US 11 (eur 45 1/3)', variant: '328554' },
//   { size: 'US 11.5 (eur 46)', variant: '328555' }
// ]

License

This project is licensed under the MIT License.

Help

  • DM me on Discord in case you need help with anything specific @ airpods pro#0001
  • Twitter
  • Mail

MIT License Copyright (c) 2020 Samuel Mikula (@220ish)

Keywords

queens

FAQs

Package last updated on 12 Feb 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.