Skip to content

agad495/CFLscraPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFLscraPy

Scraping CFL data using the CFL API.

Scrape one or more seasons using the get_all_pbp function. For example,

from cflscrapy.cfl_scraper import get_all_pbp

pbp = get_all_pbp(2017, 2022)

will return all plays from 2017 to 2022 in a list.

To convert the list of plays to a Pandas DataFrame:

import pandas as pd

pbp_df = pd.DataFrame(pbp)

CFL API data is not intended to be publicly hosted without a license. Please do not use this in any way that violates any CFL terms of use.

If you encounter any problems, issues, or errors, feel free to reach out. Thanks, and hope you enjoy!

About

Scraping CFL data using the API powering cfl.ca

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages