Milkcocoa python sdk
Python Shell
Latest commit 4b811ac Jan 26, 2016 4 @syuhei176 syuhei176 Added paho
Permalink
Failed to load latest commit information.
examples
milkcocoa
test
tests
.gitignore
README.md
ca.cert
circle.yml
execute_tests.sh
requirements.txt
requirements_tests.txt
setup.py
version_update.py

README.md

python_sdk

Milkcocoa python sdk

Status

Circle CI

How To Use

import sys
import time

import milkcocoa.milkcocoa as milkcocoa

#milkcocoaClient = milkcocoa.Milkcocoa.connectWithApiKey("{your-app-id}", "57P5lBcZny6AlQEn", "DM66u0smok1BUjHAZlU9T57kBcQUv5OKIFMkvTQ1")
milkcocoaClient = milkcocoa.Milkcocoa.connect("{your-app-id}");

datastore = milkcocoaClient.datastore("python")

def on_push(e):
    print e

datastore.on("push", on_push)

datastore.push({"content":"Hello"})

while(True):
    time.sleep(1)

コントリビューター募集中

Milkcocoa Python SDKのコントリビューターになって頂ける方を募集しています。 興味がある方は、以下のメールアドレスにお気軽に連絡下さい。

contact@mlkcca.com