loklak/loklak_nodejs_api

Name: loklak_nodejs_api

Owner: loklak

Description: Node js wrapper for the loklak API.

Created: 2015-12-22 21:13:53.0

Updated: 2018-05-25 06:02:19.0

Pushed: 2018-01-30 18:13:42.0

Homepage: null

Size: 9

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Loklak API

Build Status Code Climate Dependency Status

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

Install
install --save loklak
Using
loklak = require('loklak');
Status
ak.status(function (data) {
nsole.log(data);

Hello
ak.hello(function (data) {
nsole.log(data);

Peers
ak.peers(function (data) {
nsole.log(data);

Geocode
ak.geocode(['Votkinsk'], function (data) { console.log(data); })
Users
ak.user({name: 'sevazhidkov', followers: 20, following: 20}, function (data) { console.log(data); })
Search
ak.search({q: 'Code-in'}, function (data) { console.log(data); })
Aggregations
ak.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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.