Code Monkey home page Code Monkey logo

go-docbase's Introduction

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.

go-docbase's People

Contributors

kyoh86 avatar rnitame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

go-docbase's Issues

Use GitHub Actions

  • yo go-project --projectName ${PWD##*/} --author ${${PWD%/*}##*/} --license MIT --dir ${PWD}
  • git rm -rf .circleci
  • sudo rm -rf "$(go env GOPATH)/pkg" && go get -v -d -t ./... && go mod tidy
  • git add -p and git commit -m "Replace Circle-CI with GitHub Actions"
  • Set CODECOV_TOKEN and GORELEASER_GITHUB_TOKEN on repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.