A Go library for accessing the Docbase
API Docs: https://help.docbase.io/posts/45703
go get github.com/kyoh86/go-docbaseimport (
"github.com/kyoh86/go-docbase/docbase"
)
transport := docbase.TokenTransport{Token: "Your API Token"}
client := docbase.NewClient(transport.Client())
...And see example.
import (
"github.com/kyoh86/go-docbase/docbase/v2"
)
client := docbase.NewAuthClient("Your DocBase Domain", "Your API Token")And see example.
- ○: 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 | × |
| 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 | ☑ | ☑ |
This is distributed under the MIT License.