Skip to main content

COMCscraper

Jared Randall

This is package has been built to scrape the website, Check Out My Cards (COMC). COMC is an online marketplace for buying and selling sports cards, trading cards, and other collectibles.

This package is strictly built for end users who wish to scrape data for personal use.

Please be considerate of COMC servers when using COMCscraper.

Installation


You can install the package by entering the following command in terminal:

pip install COMCscraper

Then import the module using this function:

import COMCscraper as comc

User-End Functions


getSportsCards(sport, sort, attributes)

Returns a dataframe containing 100 results based on the sport, sort and attributes provided.

  • Card: Full Title of the card as listed on COMC (E.g. 2015-16 Upper Deck - UD Canvas #C270)
  • Year: Year or Season in which card was produced (E.g. 2015-16)
  • Player: Name of the Player as listed on COMC (E.g. Program of Excellence - Connor McDavid)
  • Player (Clean): Name of the player striped of other dimensions (E.g. Connor McDavid)
  • Lowest Price: The lowest price the card is being sold for on COMC (E.g. 2230.28)
  • Season: Different from Year dimension to more closly align with COMC's filtering (E.g. 2015)
  • Serial #/: If applicable, shows the number of cards produced for cards that are serial numbered (E.g. 10)
  • Set: Official name of set including year and brand (E.g. 2015-16 Upper Deck)
  • Brand: Producer or product line of the set (E.g. Upper Deck)
  • Card #: Card Number within Set; either Base or Subset (E.g. C270)
  • Subset: Name of subset; value of 'Base' if part of main set (E.g. UD Canvas)
  • Attributes: If attributes value is passed, then column contains attributes used in search (E.g. RC)

Example:

getSportsCards("hockey", "sl", "RC")

This example would search lowest priced ('sl') hockey ('hockey') cards featuring rookies ('RC').


getTradingCards("POKER", "", "")

Returns a dataframe containing 100 results based on the trading card, sort and attributes provided.

  • Card: Full Title of the card as listed on COMC (E.g. 2015-16 Upper Deck - UD Canvas #C270)
  • Year: Year or Season in which card was produced (E.g. 2015-16)
  • Title: Name of the Poker player or character as listed on COMC (E.g. Program of Excellence - Connor McDavid)
  • Title (Clean): Name of the player or character striped of other dimensions (E.g. Connor McDavid)
  • Lowest Price: The lowest price the card is being sold for on COMC (E.g. 2230.28)
  • Season: Different from Year dimension to more closly align with COMC's filtering (E.g. 2015)
  • Serial #/: If applicable, shows the number of cards produced for cards that are serial numbered (E.g. 10)
  • Set: Official name of set including year and brand (E.g. 2015-16 Upper Deck)
  • Brand: Producer or product line of the set (E.g. Upper Deck)
  • Card #: Card Number within Set; either Base or Subset (E.g. C270)
  • Subset: Name of subset; value of 'Base' if part of main set (E.g. UD Canvas)
  • Attributes: If attributes value is passed, then column contains attributes used in search (E.g. RC)

Example:

getTradingCards("Star Wars", "sd", "AUTO")

This example would search autographed ('AUTO') Star Wards ('Star Wars') cards with the largest discount ('sd').

Comments, Questions, or Concerns.


If you should have any comments, questions or concerns about COMCscraper, please do not hesitate to email me at jaredtroyrandall@gmail.com.

If you have any requests, please feel free to send them my way as well :)

Metadata

Release files for COMCscraper 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for COMCscraper 0.0.2
File Size Uploaded
COMCscraper-0.0.2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for COMCscraper 0.0.2
File Interpreter ABI Platform
COMCscraper-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / COMCscraper-0.0.2.tar.gz

Download URL COMCscraper-0.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9d9e868855a78ad21ec5e67d0239aaba28edf453765640c80b4642963a4593cf
BLAKE2b-256 checksum
How to use checksums
c69c9e65c249d03ec583b7497395c9e77f976e541d9ec823806de9bcfd11d3b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release files / COMCscraper-0.0.2-py3-none-any.whl

Download URL COMCscraper-0.0.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c3596d63b54e19b8114e6fdcc463df15d10b753b26ce999711806bd4f456e89
BLAKE2b-256 checksum
How to use checksums
36f0f4437c373da8c7030a56e14995da4d39d0cea9681e0ea5d709dccffb24ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page