Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Username string // contains filtered or unexported fields }
Client for communication with chess.com API servers.
func (*Client) GetCountryByURL ¶
GetCountryByURL fetches full country entity from https://api.chess.com/pub/country/{country_code}.
func (*Client) GetMonthlyGameArchive ¶
GetMonthlyGameArchive returns list of URLS in the form of https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}.
func (*Client) GetMonthlyGameArchivesURLList ¶
GetMonthlyGameArchivesURLList returns list of URLS in the form of https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}.
func (*Client) GetPlayerByUsername ¶
GetPlayerByUsername returns chess.com user from https://api.chess.com/pub/player/{username}.
type Games ¶
Games are how games are returned by https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}.
Click to show internal directories.
Click to hide internal directories.