Kwwika ceased operation on 01/06/2011. Please migrate to Pusher

API‎ > ‎RESTful‎ > ‎How to‎ > ‎

Use the RESTful API from Python

Using the following Python REST client: http://code.google.com/p/python-rest-client

You can push data into Kwwika. Use your API Key that has publish permissions as the username and the domain associated with that API Key as the password.

base_url = "https://rest.kwwika.com/TOPIC"

conn = Connection(base_url, username="<YOUR_API_KEY>", password="<YOUR_DOMAIN>")

print(conn.request_put("/FOO/BAR", body="Bid=23&Ask=24&Val=2"))
print(conn.request_put("/FOO/BAR3", body="Bid=23&Ask=24&Val=2"))