Skip to content

Patricol/JDSports-public

Repository files navigation

JDSports-public

A collection of programs I created for JD Sports.

This repository only contains README files and some portions of WalmartRefunder and AddressPaster approved (by JD Sports) for public release.

  • All programs:
    • securely handle credentials, (see JDSCredentials)
      • only usable by logged-in; authorized users
    • include clear prompts and status messages
    • have progress bars when appropriate
    • are compiled into portable EXE files
    • are written in Python
      • except for AddressPaster, which is written in AutoHotkey

Quick Descriptions:

  • WalmartRefunder
    • Automatically emails price protection (partial refund) requests to Walmart.
  • AddressPaster
    • A hotkey-controlled program that quickly copies and pastes shipping addresses from and into forms on many different websites; handling formatting conversion etc.
  • UploadTrackingData
    • Automatically uploads shipping fulfillment information requested by Amazon; matching orders with shipping confirmation emails we receive from the wholesalers.
  • ProductIDConverter
    • Quickly converts between UPCs, ASINs (Amazon's product identifier,) and WalmartIDs.
  • PullData4IDs
    • Given an Excel sheet that includes a column of UPCs; adds columns with detailed information about the products, pulled from various APIs.
  • Stock Checker (Unmaintained)
    • Regularly checks the stock status of a given set of UPCs and/or URLs across a variety of different retailers, using APIs when available and web scraping otherwise.
  • AutoOrderer (WIP)
    • Flexible program to automatically order products from websites; even ones without relevant APIs.
  • AmazonWalmartData
    • Given a set of ASINs and/or WalmartIDs, fills an Excel sheet with detailed information about both Walmart and Amazon listings for those products; including our own listings.
  • WalmartTitleSearch
    • Exports detailed information (from multiple APIs) about Walmart products that match a given search query.
  • Authorize
    • Authorize computers/user-accounts so they can use other programs that require API keys; prompts user to login to Google accounts.
  • UploadCredential
    • Upload new API keys for use by all programs.
  • RefreshEXEs
    • Handles all the overhead surrounding compiling Python code into portable executable files.
  • Modules
    • Handle all general functionality; allowing the main programs to be very simple.
    • Security
      • JDSAuthorize
        • Provides a powerful interface for requesting and storing Google Cloud OAuth2 credentials for any combinations of accounts and scopes.
      • JDSCredentials
        • Handles automatic encryption+upload and download+decryption of securely stored and synchronized files, strings, and arbitrary python objects.
      • JDSKMS
        • Google Cloud KMS Integration
      • JDSStorage
        • Google Cloud Storage Integration
    • Merchant APIs
    • Communication
      • JDSEmails
        • Integrates with Gmail's API.
      • JDSEmailTypes
        • Contains a hierarchy of classes for processing and interpreting emails.
      • JDSTwilio
        • Integrates with Twilio's API.
    • Misc
      • JDSBasic
        • Set of basic functions used by many of my programs.
      • JDSTools
        • Set of custom functions to analyze unfamiliar objects received from libraries and APIs.
      • JDSProductDataClass (WIP)
        • Unify how API data is requested and returned.

About

A collection of programs I created for JD Sports.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published