chesscom-openapi 0.1.0

OpenAPI-generated API client bindings for Chess.com
Documentation
# \DefaultApi

All URIs are relative to *https://api.chess.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**pub_player_username_games_get**]DefaultApi.md#pub_player_username_games_get | **get** /pub/player/{username}/games | Current Daily Chess
[**pub_player_username_get**]DefaultApi.md#pub_player_username_get | **get** /pub/player/{username} | Get additional details about a player in a game.
[**pub_player_username_is_online_get**]DefaultApi.md#pub_player_username_is_online_get | **get** /pub/player/{username}/is-online | Get player online status.
[**pub_player_username_stats_get**]DefaultApi.md#pub_player_username_stats_get | **get** /pub/player/{username}/stats | Get player stats.
[**pub_titled_title_get**]DefaultApi.md#pub_titled_title_get | **get** /pub/titled/{title} | List of titled-player usernames.



## pub_player_username_games_get

> crate::models::InlineResponse2001 pub_player_username_games_get(username)
Current Daily Chess

Array of Daily Chess games that a player is currently playing.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**username** | **String** |  | [required] |

### Return type

[**crate::models::InlineResponse2001**](inline_response_200_1.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## pub_player_username_get

> crate::models::Profile pub_player_username_get(username)
Get additional details about a player in a game.

Get additional details about a player in a game.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**username** | **String** |  | [required] |

### Return type

[**crate::models::Profile**](Profile.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## pub_player_username_is_online_get

> crate::models::InlineResponse200 pub_player_username_is_online_get(username)
Get player online status.

Tells if a user has been online in the last five minutes.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**username** | **String** |  | [required] |

### Return type

[**crate::models::InlineResponse200**](inline_response_200.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## pub_player_username_stats_get

> crate::models::PlayerStats pub_player_username_stats_get(username)
Get player stats.

Get ratings, win/loss, and other stats about a player's game play, tactics, lessons and Puzzle Rush score.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**username** | **String** |  | [required] |

### Return type

[**crate::models::PlayerStats**](PlayerStats.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## pub_titled_title_get

> Vec<String> pub_titled_title_get(title)
List of titled-player usernames.

List of titled-player usernames.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**title** | [**crate::models::Title**].md |  | [required] |

### Return type

**Vec<String>**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)