Skip to main content

Command-line tool to scrape volleyball statistics from Data Project Web Competition websites

Project description

Volley Stats

PyPI License)

Command-line tool to scrape volleyball statistics from Data Project Web Competition websites (WCM)

This tool is not affiliated with Genius Sports Company

Requirements

  • Python 3.8+

Installation

pip install volleystats

Usage

volleystats [--help] --fed FED (--match MATCH | --comp COMP) [--log]
  • --fed, -f: Federation Acronym (required)
  • --match, -m: Statistics of a single match (required, unless --comp is provided)
  • --comp, -c: List of matches in a competition (required, unless --match is provided)
  • --log, -l: View the logging during scraping
  • --help, -h: Show help

Data Project Web Competition URLs

  • Hostname: <Fed_Acronym>-web.dataproject.com

  • Pathnames and search parameters:

    • /MainHome

    • /History?ID=<Fed_ID>

    • /CompetitionHome?ID=<Category_ID> (could be Women, Men, Pro or Youth)

    • /CompetitionMatches?ID=<Competition_ID>

    • /MatchStatistics?mID=<Match_ID>&ID=<Competition_ID>

Federations, Confederations and Leagues Acronym

European Volleyball

  • fshv: Albanian Volleyball Federation
  • osbih: Bosnia and Herzegovina Volleyball Federation
  • bvf: Bulgarian Volleyball Federation
  • bvl: Baltic League
  • vbl: Bundesliga
  • hos: Croatian Volleyball Federation
  • cvf: Czech Volleyball Federation
  • dvbf: Danish Volleyball Federation
  • evf: Estonian Volleyball Federation
  • fbf: Faroe Islands Volleyball Association
  • eope: Hellenic Volleyball Federation
  • hvf: Hungary Volleyball Federation
  • bli: Icelandic Volleyball Association
  • iva: Israel Volleyball Association
  • fipav: Italian Volleyball Federation
  • lvf: Lithuanian Volleyball Federation
  • mva: Malta Volleyball Association
  • nvbf: Norwegian Volleyball Federation
  • fpv: Portuguese Volleyball Federation
  • frv: Romanian Volleyball Federation
  • ossrb: Serbian Volleyball Federation
  • svf: Slovak Volleyball Federation
  • ozs: Slovenian Volleyball Federation
  • rfevb: Spanish Volleyball Federation
  • svbf: Swedish Volleyball Federation
  • swi: Swiss Volley
  • tvf: Turkish Volleyball Federation
  • pvlu: Professional Volleyball League of Ukraine

South American Volleyball

  • feva: Argentine Volleyball Federation
  • cbv: Brazilian Volleyball Confederation
  • fcv: Cordoba Volleyball Federation
  • fpdv: Peruvian Volleyball Federation

Docs

Development

$ git clone git@github.com:claromes/volleystats.git

$ cd volleystats

$ pip install -r requirements.txt

$ pip install --editable .

License

The package is licensed under the terms of the GNU General Public License v3.0

Author

Claromes (GitHub)

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

volleystats-0.6.tar.gz (22.4 kB view hashes)

Uploaded Source

Built Distribution

volleystats-0.6-py3-none-any.whl (23.1 kB view hashes)

Uploaded Python 3

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