A webscraping package for COMC.com
Project description
COMCscraper
Jared Randall
This is package has been built to scrape the website, Check Out My Cards (COMC). COMC...
This package is strictly built for end users who wish to scrape data for personal use. If you are interested in using this data for professional purposes, I recommend you look into the Elite Prospects API.
Please be consideration 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
function one
Returns a dataframe containing...
- leagues: One or multiple leagues. If one league, enter as a string i.e; "nhl". If multiple leagues, enter as a tuple or list i.e; ("nhl", "ahl").
- seasons: One or multiple leagues. If one league, enter as a string i.e; "2018-2019". If multiple leagues, enter as a tuple or list i.e; ("2018-2019", "2019-2020").
Example code:
Example:
Say you obtain skater data for the KHL in 2020-2021 and store that as a dataframe called output
. You can run this function to get bio information for every player in that league's scrape.
output = tdhepscrape.get_skaters("khl", "2020-2021")
tdhepscrape.get_player_information(output)
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 :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for COMCscraper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ae490b2433b1d47860e90fd5eb6b560576449af4c6f407a7efc8187eea6711 |
|
MD5 | 3000f21c5f05435956d4b2a96c5508b5 |
|
BLAKE2b-256 | 9d89a19b85c63e784d376d9400f8e87eefdb4849a9b9987500f24bda749bc94a |