Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Out of Date

mlb.com has changed their api structure, so the current version of this scraper will no longer work.

Pytchfx

A Python implementation of the PitchRx package.

Getting Started

Pytchfx requires an sqlalchemy engine to function. Instructions on how to configure an sqlalchemy engine can be found here. link.

Below is a simple example that creates a database in memory from games between 2016/06/06 and 2016/06/09. Dates should be in the format 'YYYY/MM/DD'.

from pytchfx import scrape
from sqlalchemy import create_engine

engine = create_engine("sqlite://")
scrape(start='2016/06/06', end='2016/06/09', engine=engine)

About

PITCHf/x scraper written in python.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages