Skip to content

Latest commit

 

History

History
48 lines (45 loc) · 1.25 KB

README.md

File metadata and controls

48 lines (45 loc) · 1.25 KB

Loklak API

Build Status Code Climate

Node.js wrapper for loklak.org API - distributed tweet search server

Install

npm install --save loklak

Using

var loklak = require('loklak');

Status

loklak.status(function (data) {
  console.log(data);
});

Hello

loklak.hello(function (data) {
  console.log(data);
});

Peers

loklak.peers(function (data) {
  console.log(data);
});

Geocode

loklak.geocode(['Votkinsk'], function (data) { console.log(data); })

Users

loklak.user({name: 'sevazhidkov', followers: 20, following: 20}, function (data) { console.log(data); })

Search

loklak.search({q: 'Code-in'}, function (data) { console.log(data); })

Contact

Send me a message in Telegram: @sevazhidkov. or @sudheesh001

Or in Twitter: @sevazhidkov. @sudheesh001