Metadata-Version: 2.1
Name: pychesscom
Version: 0.1
Summary: An asynchronous Python client for Chess.com's API
Home-page: https://github.com/vopani/pychesscom
Author: Rohan Rao
Author-email: rohanrao88@gmail.com
License: Apache License, Version 2.0
Project-URL: Documentation, https://pychesscom.readthedocs.io/
Project-URL: Source, https://github.com/vopani/pychesscom
Project-URL: Tracker, https://github.com/vopani/pychesscom/issues
Description: # Chess.com Python API
        
        An asynchronous Python client for Chess.com's API
        <p>
          <img alt="License" src="https://img.shields.io/github/license/vopani/pychesscom?color=blue">
          <img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/pychesscom?color=brightgreen">
          <img alt="PyPI - Version" src="https://img.shields.io/pypi/v/pychesscom?label=pypi&color=green">
          <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/pychesscom?color=orange">
          <img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/vopani">
        </p>
        
        ## Installation
        **Python 3.7 or higher is required**
        
        To install stable version from PyPI (recommended):
        
        ```python
        pip install pychesscom
        ```
        
        To install development version:
        
        ```bash
        $ git clone https://github.com/vopani/pychesscom
        $ cd pychesscom
        $ python3 -m pip install -r requirements.txt
        ```
        
        ## Usage
        ##### Jupyter Notebook
        ```python
        from pychesscom import ChessComClient
        
        client = ChessComClient()
        response = await client.player.get_details('erik')
        response.to_dict()
        ```
        
        ##### Python Console
        ```python
        import asyncio
        from pychesscom import ChessComClient
        
        async def main():
        	client = ChessComClient()
        	response = await client.player.get_details('erik')
        	response.to_dict()
        
        loop = asyncio.get_event_loop()
        loop.run_until_complete(main())
        ```
        
        ## Documentation
        [https://pychesscom.readthedocs.io/](https://pychesscom.readthedocs.io/)
        
        ## License
        
        This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE) for more information.
        
        ## Credits
        Chess.com API: [https://www.chess.com/news/view/published-data-api](https://www.chess.com/news/view/published-data-api)   
        Lichess Python client: [https://github.com/amasend/lichess\_python\_SDK](https://github.com/amasend/lichess_python_SDK)
        
Keywords: api,async,chess,client
Platform: any
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
