loklak/loklak_go_api

Name: loklak_go_api

Owner: loklak

Description: Go library client for using the Loklak API

Created: 2016-05-31 14:44:46.0

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

Pushed: 2016-11-14 16:10:02.0

Homepage: null

Size: 10

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Loklak API Go

Build Status

This implements the API SDK for loklak server using golang. This is a Go client library for accessing the loklak API directly.

This is still a work in progress and hasn't been packaged into the loklak module yet. You can get this by doing

go get github.com/loklak/loklak_api_go

Installing

Fetch the required dependencies

Built in libraries that are being used are

Documentation

The loklak api for go can be used in the following manner

rt "github.com/loklak/loklak_api_go"

 main() {
loklakObject := new(Loklak)
loklakObject.Connect("http://loklak.org/")
// Note that the Connect step is necessary, you have to mention the loklak server you'd like to connect to.
helloResponse := loklakObject.Hello()
fmt.Println(helloResponse)


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.