Skip to content

Instantly share code, notes, and snippets.

View Fraged0's full-sized avatar

Frag Fraged0

View GitHub Profile
@Fraged0
Fraged0 / 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
@Fraged0
Fraged0 / 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"))
@Fraged0
Fraged0 / example1.txt
Created May 31, 2024 13:24
RANDAPI example 1
pip install PyRANDAPI