Skip to main content

a webscraper for the penny-del statistic pages

Project description

delstat scraper - a webscraper for the penny-del statistic pages

Goaliestats - usage and methods

from delstats import DelStats

with DelStats(debug=DEBUG) as delstats:

    goaliestats = delstats.goaliestats()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/goaliestats/basis
    goaliestats.basis()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/goaliestats/schuesse
    goaliestats.schuesse()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/goaliestats/xg
    goaliestats.xg()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/goaliestats/gegentore
    goaliestats.gegentore()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/goaliestats/paesse
    goaliestats.paesse()

Playerstats - usage and methods

with DelStats(debug=DEBUG) as delstats:

    playerstats = delstats.playerstats()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/basis
    playerstats.basis()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/team-play
    playerstats.teamplay()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/paesse
    playerstats.paesse()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/schuesse
    playerstats.schuesse()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/xg
    playerstats.xg()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/skating
    playerstats.skating()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/puckbesitz
    playerstats.puckbesitz()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/toi
    playerstats.toi()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/verteidigung
    playerstats.verteidigung()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/strafen
    playerstats.strafen()

    # all the above
    playerstats.all()

Tabelle - usage and methods

with DelStats(debug=DEBUG) as delstats:

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/playerstats/basis
    delstats.tabelle()

Teamstats - usage and methods

with DelStats(debug=DEBUG) as delstats:

    teamstats = delstats.teamstats()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/schuesse
    teamstats.schuesse()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/team-play
    teamstats.teamplay()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/paesse
    teamstats.paesse()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/defensive
    teamstats.defensive()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/puckbesitz
    teamstats.puckbesitz()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/strafen
    teamstats.strafen()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/special-teams
    teamstats.specialteams()

    # https://www.penny-del.org/statistik/saison-2023-24/hauptrunde/teamstats/zuschauer
    teamstats.zuschauer()

    # a single report containing all the above
    teamstats.all()

Contributing

Please read CONTRIBUTING.md for details on my code of conduct, and the process for submitting pull requests. Please note that I have a life besides programming. Thus, expect a delay in answering.

License

This project is licensed under the GPLv3 - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

delstat_scraper-0.1.2.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file delstat_scraper-0.1.2.tar.gz.

File metadata

  • Download URL: delstat_scraper-0.1.2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for delstat_scraper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d82a556d28deea45d9ab8a776f279ff1b8c95b73e46aa77c2f93ea99cb9c6126
MD5 845d35701d0c2f82ca4cee56ce7b93db
BLAKE2b-256 b0071497e299d1012c8c7e8cbcbfa440eb4eb0d560de96230329895b938446f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page