{"id":20820339,"url":"https://github.com/kyoh86/go-docbase","last_synced_at":"2025-05-07T15:43:41.085Z","repository":{"id":57500684,"uuid":"127916912","full_name":"kyoh86/go-docbase","owner":"kyoh86","description":" A Go library for accessing the Docbase API v1/v2","archived":false,"fork":false,"pushed_at":"2024-09-07T10:38:26.000Z","size":50,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T11:35:25.387Z","etag":null,"topics":["api-client","docbase","go","golang","library"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyoh86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-03T13:59:34.000Z","updated_at":"2024-09-07T10:38:25.000Z","dependencies_parsed_at":"2024-06-19T05:34:52.150Z","dependency_job_id":null,"html_url":"https://github.com/kyoh86/go-docbase","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoh86%2Fgo-docbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoh86%2Fgo-docbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoh86%2Fgo-docbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyoh86%2Fgo-docbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyoh86","download_url":"https://codeload.github.com/kyoh86/go-docbase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252908212,"owners_count":21823371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","docbase","go","golang","library"],"created_at":"2024-11-17T22:08:58.562Z","updated_at":"2025-05-07T15:43:41.038Z","avatar_url":"https://github.com/kyoh86.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-docbase\n\nA Go library for accessing the [Docbase](https://docbase.io)\n\nAPI Docs: https://help.docbase.io/posts/45703\n\n[![PkgGoDev](https://pkg.go.dev/badge/kyoh86/go-docbase)](https://pkg.go.dev/kyoh86/go-docbase)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kyoh86/go-docbase)](https://goreportcard.com/report/github.com/kyoh86/go-docbase)\n[![Coverage Status](https://img.shields.io/codecov/c/github/kyoh86/go-docbase.svg)](https://codecov.io/gh/kyoh86/go-docbase)\n[![Release](https://github.com/kyoh86/go-docbase/workflows/Release/badge.svg)](https://github.com/kyoh86/go-docbase/releases)\n\n## Install\n\n```sh\ngo get github.com/kyoh86/go-docbase\n```\n\n## Usage\n\n### v1\n\n```go\nimport (\n\t\"github.com/kyoh86/go-docbase/docbase\"\n)\n\ntransport := docbase.TokenTransport{Token: \"Your API Token\"}\nclient := docbase.NewClient(transport.Client())\n...\n```\n\nAnd see [example](./cmd/go-docbase-sample/main.go).\n\n### v2\n\n```go\nimport (\n\t\"github.com/kyoh86/go-docbase/v2/docbase\"\n)\n\nclient := docbase.NewAuthClient(\"Your DocBase Domain\", \"Your API Token\")\n```\n\nAnd see [example](./v2/cmd/go-docbase-sample/main.go).\n\n## API Coverage Status\n\n### v1\n\n* ○: Implemented and tested.\n* △: Implementing.\n* ×: Not implemented.\n\n| Service | Function | Status |\n| --- | --- | --- |\n| Post | List | ○ |\n| Post | Create | ○ |\n| Post | Get | △ |\n| Post | Update | △ |\n| Post | Delete | △ |\n| Comment | Create | △ |\n| Comment | Delete | △ |\n| Team | List | ○ |\n| Group | List | △ |\n| Tag | List | △ |\n| Attachment | Post | × |\n\n### v2\n| Service | Function | Implemented | Tested |\n| --- | --- | --- | --- |\n| Post | List | ☑ | ☑ |\n| Post | Create | ☑ | ☑ |\n| Post | Get | ☑ | ☑ |\n| Post | Edit | ☑ | ☑ |\n| Post | Archive | ☑ | ☑ |\n| Post | Unarchive | ☑ | ☑ |\n| Post | Delete | ☑ | ☑ |\n| User | List | ☑ | ☑ |\n| Comment | Create | ☑ | ☑ |\n| Comment | Delete | ☑ | ☑ |\n| Attachment | Upload | ☑ | ☑ |\n| Tag | List | ☑ | ☑ |\n| Group | Create | ☑ | ☑ |\n| Group | Get | ☑ | ☑ |\n| Group | List | ☑ | ☑ |\n| Group | AddUsers | ☑ | ☑ |\n| Group | RemoveUsers | ☑ | ☑ |\n\n# LICENSE\n\n[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg)](http://www.opensource.org/licenses/MIT)\n\nThis is distributed under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyoh86%2Fgo-docbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyoh86%2Fgo-docbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyoh86%2Fgo-docbase/lists"}