Euroleague and Eurocup scrapping
Project description
Euroleague and Eurocup Scrapper
Welcome to newstats.eu Euroleague and Eurocup scrapper!
This is a simple project to help you download basketball data from euroleague and eurocup
You need to have python>=3.6 installed in order to use the library.
Installation and usage
Install it using:
pip install euroleague_scrapping
If you want to download Euroleague data for season 2019-2020 try:
scrapper = Euroscrapper(years=[2019])
scrapper.start()
It will create a data/euroleague folder in your current path. If you prefer a different path to store the data (lets say /tmp/data), try:
scrapper = Euroscrapper(datadir="/tmp/data",years=[2019])
scrapper.start()
If you want to download Eurocup data for season 2019-2020 try:
scrapper = Euroscrapper(league="eurocup",years=[2019])
scrapper.start()
If you want to download Euroleague data for all the seasons try (it will take a while):
scrapper = Euroscrapper()
scrapper.start()
If you want to download Euroleague data for the last 3 seasons try:
scrapper = Euroscrapper(years=[2017,2018,2019])
scrapper.start()
Hopefully you can adopt the calls to fit your needs.
If you enjoyed the library and found it useful give us a shout in Twitter @newstatseu
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 euroleague_scrapping-0.0.1.dev21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fd5fd497fe8b84549704644e4d0bd98cd30720d95666c853b5ea0ae79ca58c |
|
MD5 | 5f812e55fe5d4d87a2aaa41ab656ac46 |
|
BLAKE2b-256 | 97ec7d50d24839570fb7e0e3e89fe1227bc3fc684cfce1149f21336544a0888c |
Hashes for euroleague_scrapping-0.0.1.dev21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aba90306014565a967df9fc812b6155266f72db019d71601c3e9bed53a48fa8 |
|
MD5 | e19c0cf363ea9d562851407340455af0 |
|
BLAKE2b-256 | 9c3a26dcde98e50a2813ef4a7f7e2b2215bb2e436fabed53f5cb9c5d51efa860 |