2 releases
0.1.1 | Mar 18, 2021 |
---|---|
0.1.0 | Mar 14, 2021 |
#2222 in Web programming
Used in chesscom
61KB
1K
SLoC
Rust API client for chesscom-openapi
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.0
- Package version: 0.1.1
- Build package: org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
Documentation for API Endpoints
All URIs are relative to https://api.chess.com
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | get_chess_games_archives | get /pub/player/{username}/games/archives | List of Monthly Archives |
DefaultApi | get_chess_games_for_month | get /pub/player/{username}/games/{year}/{month} | Complete Monthly Archives |
DefaultApi | get_chess_games_for_month_pgn | get /pub/player/{username}/games/{year}/{month}/pgn | Multi-Game PGN Download |
DefaultApi | get_daily_chess_games | get /pub/player/{username}/games | Current Daily Chess |
DefaultApi | get_daily_chess_games_to_move | get /pub/player/{username}/games/to-move | To-Move Daily Chess |
DefaultApi | get_player_online_status | get /pub/player/{username}/is-online | Get player online status. |
DefaultApi | get_player_profile | get /pub/player/{username} | Get additional details about a player in a game. |
DefaultApi | get_player_stats | get /pub/player/{username}/stats | Get player stats. |
DefaultApi | get_titled_players | get /pub/titled/{title} | List of titled-player usernames. |
Documentation For Models
- ChessStats
- ChessStatsBest
- ChessStatsLast
- ChessStatsRecord
- ChessStatsTournament
- CompletedGame
- DailyGame
- Error
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2003
- InlineResponse2004
- LessonsStats
- Player
- PlayerResult
- PlayerStats
- Profile
- PuzzleRushStats
- Rating
- Score
- TacticsStats
- Title
- ToMoveGame
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~5–20MB
~246K SLoC