Skip to content

loklak/loklak_nodejs_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loklak API

Build Status Code Climate Dependency Status

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); })

Aggregations

Loklak.aggregations({q: 'fossasia', since: '2016-01-01', fields: [hashtags,mentions]}, function (data) { console.log(data); })

Contact

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

Or in Twitter: @sevazhidkov. @sudheesh001

About

Node js wrapper for the loklak API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • Makefile 1.5%