Skip to content

A Go library for accessing the Docbase API v1/v2

License

Notifications You must be signed in to change notification settings

kyoh86/go-docbase

Repository files navigation

go-docbase

A Go library for accessing the Docbase

API Docs: https://help.docbase.io/posts/45703

PkgGoDev Go Report Card Coverage Status Release

Install

go get github.com/kyoh86/go-docbase

Usage

v1

import (
	"github.com/kyoh86/go-docbase/docbase"
)

transport := docbase.TokenTransport{Token: "Your API Token"}
client := docbase.NewClient(transport.Client())
...

And see example.

v2

import (
	"github.com/kyoh86/go-docbase/v2/docbase"
)

client := docbase.NewAuthClient("Your DocBase Domain", "Your API Token")

And see example.

API Coverage Status

v1

  • ○: Implemented and tested.
  • △: Implementing.
  • ×: Not implemented.
Service Function Status
Post List
Post Create
Post Get
Post Update
Post Delete
Comment Create
Comment Delete
Team List
Group List
Tag List
Attachment Post ×

v2

Service Function Implemented Tested
Post List
Post Create
Post Get
Post Edit
Post Archive
Post Unarchive
Post Delete
User List
Comment Create
Comment Delete
Attachment Upload
Tag List
Group Create
Group Get
Group List
Group AddUsers
Group RemoveUsers

LICENSE

MIT License

This is distributed under the MIT License.

About

A Go library for accessing the Docbase API v1/v2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •