Lun offers services over http. It supports HTTP GET/POST. The responses are returned in JSON. The followings are the APIs available for developers.
show: Get a list of comments on a URL.
Method: GET
Format: JSON
URL: /cmt/show.js?u=url&n=n&v=lr&cb=cb
u - url or permalink; v* - result variable; n* - top n, default to 5; cb* - callback;
* - optional parameter
Response:
var lr = {
"comments":
[
{"comment": {"created_by:"doe","website":"url1","content":"blah1","created_on":"2008-12-10T12:21:00-06:00"} },
{"comment": {"created_by:"jane","website":"url2","content":"blah2","created_on":"2008-12-10T12:11:00-06:00"} },
...
]
};
cb(lr);