{"repo":"sarartur/chess.com","free":true,"listed":false,"github":"https://github.com/sarartur/chess.com","clone":"git clone https://github.com/sarartur/chess.com.git","description":"Python client for Chess.com Published-Data API","language":"Python","stars":68,"topics":["chess","api-client","python","api-rest","chess-data","python-client"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Python client for Chess.com Public API --- Python client for Chess.com API which provides public data from the chess.com website. Installation The package requires Python 3.8 or higher . Install latest version from PyPI Resources Documentation: readthedocs.org Published-Data API: chess.com Usage Retrieving Data The package uses aiohttp for asynchronous requests and requests for synchronous requests to interact with the API. Using client instance Using functions Asynchronous Managing Rate Limit Every function accepts a tts parameter which controls the number of seconds the Client will wait before making the request. This is useful if running a lot of coroutines at once. The second method is to pass option to the client. If the initial request gets rate limited the client will automatically retry the request 2 more times with an interval of 4 seconds . Available Endpoints Player Data - Profile - Stats - Clubs - Game archives - Current games - Games by month - Games by month PGN - Tournaments - Titled players - Team matches - Current games to move Clubs - Club details - Club members - Club matches Tournaments - Tournament details - Tournament round - Tournament round group details Team Matches - Team match - Team match board - Team match live - Team match live board Countries - Country clubs - Country players - Country details Daily Puzzle - Random daily puzzle - Current daily puzzle Other - Streamers - Leaderboards Reporting Issues Chess.com API is subject to change. Smoke test","default_branch":null,"files":null,"tree":[],"storefront":"/r/sarartur","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sarartur/chess.com/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}