import json
import urllib2
from api import send_to_viewer

# test code
if __name__ == '__main__':
    for i in range(5000):
        send_to_viewer("CA1")
        send_to_viewer("CS")
        send_to_viewer("CA3")
        send_to_viewer("ENTl")
        send_to_viewer("AAA")
        send_to_viewer("AN")
        send_to_viewer("SM")
        send_to_viewer("PYR")
        send_to_viewer("PRM")
        send_to_viewer("MOB")
        send_to_viewer("AON")
        send_to_viewer("OT")
        send_to_viewer("VISC")
        send_to_viewer("CEA")
        send_to_viewer("ACB")
        send_to_viewer("MS")
        send_to_viewer("CM")
        send_to_viewer("RE")
        send_to_viewer("PR")
        send_to_viewer("TR")
        send_to_viewer("SSp-n")
        send_to_viewer("SSs")
        send_to_viewer("CP")
        send_to_viewer("AUDp")
        send_to_viewer("AUDv")
        send_to_viewer("SCs")
        send_to_viewer("RSPv")
        send_to_viewer("RSPd")
        send_to_viewer("PAG")
        send_to_viewer("NLL")
    

import json
import urllib2
import time
from api import send_to_viewer

# test code
if __name__ == '__main__':
    for i in range(5000):
        time.sleep(1)
        send_to_viewer("CA1")
        send_to_viewer("CS")
        send_to_viewer("CA3")
        send_to_viewer("ENTl")
        send_to_viewer("AAA")
        send_to_viewer("AN")
        send_to_viewer("SM")
        send_to_viewer("PYR")
        send_to_viewer("PRM")
        send_to_viewer("MOB")
        send_to_viewer("AON")
        send_to_viewer("OT")
        send_to_viewer("VISC")
        send_to_viewer("CEA")
        send_to_viewer("ACB")
        send_to_viewer("MS")
        send_to_viewer("CM")
        send_to_viewer("RE")
        send_to_viewer("PR")
        send_to_viewer("TR")
        send_to_viewer("SSp-n")
        send_to_viewer("SSs")
        send_to_viewer("CP")
        send_to_viewer("AUDp")
        send_to_viewer("AUDv")
        send_to_viewer("SCs")
        send_to_viewer("RSPv")
        send_to_viewer("RSPd")
        send_to_viewer("PAG")
        send_to_viewer("NLL")
    

tweak test code