By the way, it's very easy to use, this is why I named it "EZ".
To read bitcoin price and push to my service, here you can write Python script like this
import time
import urllib
import ezcomet
def read_price():
f = urllib.urlopen('http://data.mtgox.com/api/1/BTCUSD/ticker')
content = f.read()
return content
def main():
api = ezcomet.EZCometAPI(
api_key='',
user_name='demo',
)
while True:
time.sleep(30)
price_data = read_price()
api.write('bitcoi[Suspicious link removed]ice', price_data)
if __name__ == '__main__':
main()
The javascript to receive messages is also simple
You can see the live demo here
http://ezcomet.com/demo/bitcoin_priceIf you have question about my service, you can ask me here.
