Metadata-Version: 2.1
Name: procyclingstats
Version: 0.1
Summary: A Python API wrapper for procyclingstats.com
Home-page: https://github.com/themm1/procyclingstats
Author: Martin Madzin
Author-email: madzin.m@gmail.com
License: MIT
Description: procyclingstats
        ===============
        
        Procyclingstats is a Python package for scraping `procyclingstats.com`_,
        which is a website with cycling stats. It's reccomended to get familiar with
        the website before using this package.
        
        Instalation
        -----------
        
        Using pip (NOT AVAILABLE YET):
        
        .. code-block:: text
        
            $ pip install procyclingstats
        
        Manual (for development):
        
        .. code-block:: text
        
            $ git clone https://github.com/themm1/procyclingstats.git
            $ pip install -r procyclingstats/requirements_dev.txt
        
        Basic usage
        -----------
        
        Basic Rider class usage:
        
        >>> from procyclingstats import Rider
        >>> rider = Rider("rider/tadej-pogacar")
        >>> rider.birthdate()
        "1998-9-21"
        >>> rider.parse()
        {
            'birthdate': '1998-9-21',
            'height': 1.76,
            'name': 'Tadej  Pogačar',
            'nationality': 'SI',
            ...
        }
        
        Interface consists from scraping classes which are currently ``Race``,
        ``RaceStartlist``, ``RaceClimbs``, ``Ranking``, ``Rider``, ``RiderResults``,
        ``Stage`` and ``Team``. Usage of all scraping classes is almost the same and
        the only difference among them are parsing methods as is for example
        ``birthdate`` in Rider class usage example.
        
        Links
        -----
        
        - GitHub_
        - Read the Docs (soon)
        
        .. _GitHub: https://github.com/themm1/procyclingstats
        .. _procyclingstats.com: https://www.procyclingstats.com
        .. _selectolax: https://github.com/rushter/selectolax
Keywords: cycling cycling-stats procyclingstats scraper html-parsing sports-analytics
Platform: UNKNOWN
Description-Content-Type: text/x-rst
