Skip to content

whoisYeshua/Nike-RU-release-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated!

Due to new Nike CORS policy this solution has been deprecated, so I created node solution.

Nike RU release checker

About:

Script that accesses the Nike API to get product information from the main feed and stores it at localstorage. Then information outputs to the console, and can also be displayed if you paste correct product-URL.

This code can be adapted to other regions and to a larger storage capacity.

Example:

let url = new URL ('https://api.nike.com/product_feed/threads/v2/')
       url.searchParams.append('count','14')
       url.searchParams.append('filter','marketplace(RU)')
       url.searchParams.append('filter','language(ru)')
       url.searchParams.append('filter','channelId(010794e5-35fe-4e32-aaff-cd2c74f89d61)')

If you need to increase the number of cached products simply increase count param, also, if you need to change the region, select the appropriate one at marketplace() & language()

Console preview:

Imgur

UI preview:

Demo

Imgur

Stock description:

Color Description
Imgur Low Stock
Imgur Medium Stock
Imgur High Stock
Imgur Not announce
Imgur OOS