Skip to content

Instantly share code, notes, and snippets.

View hvidk's full-sized avatar
whar

hvdev hvidk

whar
  • 16:36 (UTC +09:00)
View GitHub Profile
@hvidk
hvidk / example3.py
Created May 31, 2024 13:49
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
@hvidk
hvidk / example2.py
Created May 31, 2024 13:42
RANDAPI example 2
import PyRANDAPI as RANDAPI
randapi = RANDAPI.randapi()
print(randapi.get("YOUR_SPACE_ID_123456"))
@hvidk
hvidk / example1.txt
Created May 31, 2024 13:24
RANDAPI example 1
pip install PyRANDAPI