Last active
January 19, 2022 10:36
-
-
Save Quantum-Codes/e687c6f6fb8bdaa9c9c4b4e03c848123 to your computer and use it in GitHub Desktop.
Cloud event/ Cloud scanner (ScraGet)
This file contains 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
from ScraGet import ScraGet | |
cloud = ScraGet.cloud() | |
@cloud.scan(ID="612229554",delay=1,NewThread=False) #params explained below | |
def hello(change): #change parameter is automatically passed. | |
print(change.var,":",change.value) | |
cloud.stop = True #this stops the scanning. Don't put if u want to keep scanning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment