ricocai / gochariots-python-lib

Python library for GoChariots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gochariots-python-lib

Python library for GoChariots

Quickstart

import gochariots

seed = 9527
gochariots.setHost("localhost:8080")

r1 = gochariots.Record(seed)
r1.add("first", "event")

r2 = gochariots.Record(seed)
r2.add("second", "event")
r2.addHash(gochariots.getHash(r1)[0])

result = gochariots.post(r2)
print(result.content)
result = gochariots.post(r1)
print(result.content)

About

Python library for GoChariots

License:Other


Languages

Language:Python 100.0%