Slide 14
Slide 14 text
Zarkov Web Service
- We’ve got the data in, now how do
we get it out?
- Zarkov includes a tiny HTTP server
$ curl -d foo='{"c":"sfweb", "b":"date/2011-07-01/",
"e":"date/2011-07-04"}' http://localhost:8081/q
{"foo": {"sflogo": [[1309579200000.0, 12774],
[1309665600000.0, 13458], [1309752000000.0,
13967]], "hits": [[1309579200000.0, 69357],
[1309665600000.0, 68514], [1309752000000.0,
68494]]}}
- Values come out tweaked for use in
flot