APIPlatformsave_data

save_data

Saves JSON-serializable game data for the player.

Signature

save_data

Saves JSON-serializable game data for the player.

Signature

save_data(key: str, value: Any) -> None

Parameters

NameTypeDefaultDescription
keystrNonekey argument for this API call.
valueAnyNonevalue argument for this API call.

Returns

None

Example

from conjure import *
from conjure.platform import save_data

init_window(360, 640, "Platform")
print("save_data")

See also

  • is_authenticated
  • get_username
  • get_player_display_name

Return to the platform overview or continue with the quickstart.