Skip to content

Instantly share code, notes, and snippets.

@Fraged0
Created May 31, 2024 13:49
Show Gist options
  • Save Fraged0/a260a589cde457ac8aa2ceffacbb15f2 to your computer and use it in GitHub Desktop.
Save Fraged0/a260a589cde457ac8aa2ceffacbb15f2 to your computer and use it in GitHub Desktop.
RANDAPI example 3
import PyRANDAPI as RANDAPI
randapi = RANDAPI.randapi()
myList = ["apples", "bananas"]
# this changes your space content to myList, overwriting all data in it
randapi.change_list(False, myList, "YOUR_SPACE_ID_123456")
# this adds to list, not changing all space content
randapi.change_list(True, "oranges", "YOUR_SPACE_ID_123456")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment