A new class for scratch2py Set var (var) to (val) # Set's a var on the server to a value. Decoded info from server is in the "Return" variable. (Without cloud symbol) Delete var (obj) # Delete's a var on the server. Decoded info from server is in the "Return" variable. (Without cloud symbol) Get var(obj) # Return's the value of the var. (Data is stored in "Object" var.)
All by me Use this script for python side for scratchDatabase: from scratch2py import Scratch2Py s2py = Scratch2Py('Username', 'Password') db = s2py.scratchDatabase('project_id') db.startLoop() # And you're all set! Use this for turbowarpDatabase: from scratch2py import Scratch2Py s2py = Scratch2Py('Username', 'Password') db = s2py.turbowarpDatabase('project_id') db.startLoop() # And you're all set!