Created
May 31, 2024 13:49
-
-
Save fragis0/a260a589cde457ac8aa2ceffacbb15f2 to your computer and use it in GitHub Desktop.
RANDAPI example 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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