Skip to content
master
Go to file
Code
This branch is 11 commits ahead of sudheesh001:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.