Method: Lishogi::GamesApi#api_user_current_game
- Defined in:
- lib/lishogi/api/games_api.rb
#api_user_current_game(username, opts = {}) ⇒ Object
Export ongoing game of a user Download the ongoing game, or the last game played, of a user. Available in either KIF or JSON format. If the game is ongoing, the 3 last moves are omitted.
234 235 236 237 |
# File 'lib/lishogi/api/games_api.rb', line 234 def api_user_current_game(username, opts = {}) data, _status_code, _headers = api_user_current_game_with_http_info(username, opts) data end |