Metadata-Version: 2.1
Name: tmquery
Version: 0.0.2
Summary: UNKNOWN
Home-page: UNKNOWN
License: UNKNOWN
Description: # TMQuery
        TMQuery is a declarative library for efficiently and intuitively scraping data from Transfermarkt.
        
        ## Installation
        
        ```bash
        pip install tmquery
        ```
        
        ## Usage
        
        ```python
        from tmquery import TMQuery
        
        TMQuery().search_player("luis suarez").csv()
        ```
        
        | name        | date_of_birth     | place_of_birth | height | citizenship | position                | foot  | agent     | current_club                                | joined       | expires     | option                    | outfitter |
        |-------------|-------------------|----------------|--------|-------------|-------------------------|-------|-----------|---------------------------------------------|--------------|-------------|---------------------------|-----------|
        | Luis Suárez | Jan 24, 1987 (37) | Salto          | 1.82 m | Uruguay     | Attack - Centre-Forward | right | Relatives | /inter-miami-cf/startseite/verein/69261     | Jan 1, 2024  | Dec 31, 2024| Option for a further year | Puma      |
        
        <br>
        
        ```python
        TMQuery().search_player("morata").get_transfers().csv()
        ```
        
        | player         | player_id                                    | season | date       | left             | joined    | mv       | fee         |
        |----------------|----------------------------------------------|--------|------------|------------------|-----------|----------|-------------|
        | Álvaro Morata  | /alvaro-morata/profil/spieler/128223         | 24/25  | Jul 19, 2024 | Atlético Madrid  | AC Milan  | €16.00m  | €13.00m     |
        | Álvaro Morata  | /alvaro-morata/profil/spieler/128223         | 21/22  | Jun 30, 2022 | Juventus         | Atlético Madrid | €25.00m  | End of loan |
        | Álvaro Morata  | /alvaro-morata/profil/spieler/128223         | 20/21  | Sep 22, 2020 | Atlético Madrid  | Juventus  | €36.00m  | €20.00m     |
        | ...            | ...                                          | ...    | ...        | ...              | ...       | ...      | ...         |
        
        
        <br>
        
        ```python
        TMQuery().search_club("barcelona").get_players(season="2010-11").csv()
        ```
        
        
        | name                | date_of_birth     | place_of_birth           | height | citizenship | position               | foot  | agent                                      | current_club                                | joined       | expires     | option | outfitter |
        |---------------------|-------------------|--------------------------|--------|-------------|------------------------|-------|--------------------------------------------|---------------------------------------------|--------------|-------------|--------|-----------|
        | Víctor Valdés       | Jan 14, 1982 (42) | L’Hospitalet de Llobregat| 1.83 m | Spain       | Goalkeeper             | right | no agent                                   | /retired/startseite/verein/123              | Aug 17, 2017 | -           | null   | null      |
        | Rubén Miño          | Jan 18, 1989 (35) | Cornellà de Llobregat    | 1.91 m | Spain       | Goalkeeper             | right | /footfeel-ism/beraterfirma/berater/4477    | /ue-cornella/startseite/verein/16196        | Aug 3, 2023  | Jun 30, 2025| null   | null      |
        | Gerard Piqué        | Feb 2, 1987 (37)  | Barcelona                | 1.94 m | Spain       | Defender - Centre-Back | right | /ac-talent/beraterfirma/berater/5041       | null                                        | Jan 1, 2023  | -           | null   | Nike      |
        | ...     | ... | ...        | ... | ...            | ...             | ... | ...      | ...         | ...  | ...| ...   | ...      |
        
        
        <br>
        
        ## UML
        ![alt text](https://github.com/franz38/tmquery/blob/main/public/tmquery_uml.png?raw=true)
        
        
        ## License
        
        This project is licensed under the MIT License.
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
