Download the PHP package danabrey/espn-ncaa-stats-scraper without Composer
On this page you can find all versions of the php package danabrey/espn-ncaa-stats-scraper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download danabrey/espn-ncaa-stats-scraper
More information about danabrey/espn-ncaa-stats-scraper
Files in danabrey/espn-ncaa-stats-scraper
Package espn-ncaa-stats-scraper
Short Description PHP package for scraping college football player stats from ESPN
License MIT
Informations about the package espn-ncaa-stats-scraper
ESPN NCAA Stats Scraper
This PHP package scrapes stats for a college football player from ESPN. Based off of the equivalent CBS scraper.
Installation
Via Composer:
composer require danabrey/espn-ncaa-stats-scraper
Usage
Scrape a player's stats by passing their ESPN player ID (found in the URL e.g. https://www.espn.co.uk/college-football/player/stats/_/id/4241463/jerry-jeudy
)
The return from getPlayerStats
will be a Player
object, which includes their ID, name and a seasons
property which is an array of PlayerSeason
objects, containing the stats for the player that season.
Disclaimer
Scraping from websites without permission may be against Terms of Service. Use this package at your own discretion.
Contributing/Contact
Please feel free to raise issues or open pull requests with suggestions on how to improve this project. For any informal questions, find me on Twitter at @danabrey.
License
- MIT license
- Copyright 2019 © Dan Abrey
All versions of espn-ncaa-stats-scraper with dependencies
fabpot/goutte Version ^3.2
symfony/serializer Version ^4.3
symfony/property-access Version ^4.3