Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("pastebin", "get", "4nRg9CHU", "json")
- os.loadAPI("json")
- while 1 do
- str = http.get("http://localhost:5000/dummy").readAll()
- obj = json.decode(str)
- redstone.setOutput("right", obj.open)
- sleep(1)
- end
Add Comment
Please, Sign In to add comment