kxvxnc / Stockx-Discord-Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stockx-Discord-Bot

This project is a discord bot that uses the Algolia search API to search products and uses that information in StockX's API to return data on a particular sneaker or piece of clothing.

This project is now deprecated due to StockX security and API changes.

Motivation

The goal was to create something that people in the sneaker community would be able to use in their discord groups for free. Being able to visualize all the data on a sneaker at once without having to click and scroll is convenient and saves people time.

Features

Takes in keywords from the user and displays a list of 10 possible products

  • User can choose the desired product by reacting to the bot's message
    • If only 1 result is found, the user does not have to select an option

It returns an embed with:

  • Product Name w/ StockX hyperlink
  • Thumbnail Picture
  • SKU
  • Colorway
  • Retail Price
  • Release Date (yyyy-mm-dd)
  • Highest Bid
  • Lowest Ask
  • Total Asks
  • Total Bids
  • Total Sold
  • Sales in the last 72 hrs
  • Table of lowest Ask and highest Bid for every size

Bot Commands

  • .sx [keywords here]

Screenshots

Errors Multiple Selection Single Selection

Installation

  • Install python 3+ and add python to your PATH
  • Install pip python get-pip.py
  • Clone this repository git clone https://github.com/kxvxnc/StockX-Discord-Bot.git
  • Change directories to the current folder cd /to/your/directory/StockX-Discord-Bot
  • Install dependencies pip install -r requirements.txt
  • Create an application at the Discord Developer Portal
  • Edit line 8 in main.py with your own bot token and save
  • Run main.py python main.py

About

License:MIT License


Languages

Language:Python 100.0%