{"id":26483824,"url":"https://github.com/chatopera/chatopera-go-sdk","last_synced_at":"2025-03-20T04:58:13.141Z","repository":{"id":104765861,"uuid":"159264929","full_name":"chatopera/chatopera-go-sdk","owner":"chatopera","description":"聊天机器人，Go开发工具包，Chatopera 机器人平台","archived":false,"fork":false,"pushed_at":"2021-08-04T02:40:50.000Z","size":30,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T06:23:21.279Z","etag":null,"topics":["chatbot","chatopera","go","golang"],"latest_commit_sha":null,"homepage":"https://bot.chatopera.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chatopera.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-11-27T02:38:00.000Z","updated_at":"2023-09-01T08:40:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e181890-b160-46af-aa86-bb15ff3ade2a","html_url":"https://github.com/chatopera/chatopera-go-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fchatopera-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fchatopera-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fchatopera-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatopera%2Fchatopera-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatopera","download_url":"https://codeload.github.com/chatopera/chatopera-go-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554067,"owners_count":20471173,"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":["chatbot","chatopera","go","golang"],"created_at":"2025-03-20T04:58:12.636Z","updated_at":"2025-03-20T04:58:13.132Z","avatar_url":"https://github.com/chatopera.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Chatopera Go SDK](https://github.com/chatopera/chatopera-go-sdk)\n\n---\n\nhttps://bot.chatopera.com/\n\n低代码或无代码方式定制智能对话机器人！\n\n[Chatopera](https://www.chatopera.com/) 提供聊天机器人开发者平台，Chatopera Go SDK 用于在 Go 应用中集成[聊天机器人服务](https://bot.chatopera.com/)。\n\n本教程介绍如何使用 Chatopera 机器人开发者平台的[Go SDK](https://github.com/chatopera/chatopera-go-sdk)与机器人进行集成，阅读本教程需要 10 分钟时间。\n\n## 安装\n\n```\ngo get github.com/chatopera/chatopera-go-sdk\n```\n\n## 使用文档\n\n快速开始，类接口定义和实例化文档等，参考 [文档中心](https://docs.chatopera.com/products/chatbot-platform/integration/index.html)：\n\n[https://docs.chatopera.com/products/chatbot-platform/integration/index.html](https://docs.chatopera.com/products/chatbot-platform/integration/index.html)\n\n## 示例程序\n\n假设您已经:\n\n1. 准备好**ClientId**和**Secret**了；\n\n2. 安装了[chatopera-go-sdk](https://github.com/chatopera/chatopera-go-sdk)，\n\n那么，可以用以下代码测试。\n\n```go\nimport (\n\t\"github.com/chatopera/chatopera-go-sdk\"\n)\nvar chatbot = chatopera.Chatbot(\"YOUR CLIENT ID\", \"YOUR SECRET\")\n```\n\n更多参考代码：\n\n[https://github.com/chatopera/chatopera-go-sdk/blob/master/chatopera_test.go](https://github.com/chatopera/chatopera-go-sdk/blob/master/chatopera_test.go)\n\n## 单元测试\n\n单元测试: [chatopera_test.go](https://github.com/chatopera/chatopera-go-sdk/blob/master/chatopera_test.go)\n\n```\ncd chatopera-go-sdk\nexport GOPATH=YOUR_PROJECT_GOPATH:$GOPATH\ngo test -run ''\n```\n\n## 开源许可协议\n\nCopyright (2018-2020) [北京华夏春松科技有限公司](https://www.chatopera.com/)\n\n[Apache License Version 2.0](./LICENSE)\n\nCopyright 2018-2020, [北京华夏春松科技有限公司](https://www.chatopera.com/). All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.\n\n[![chatoper banner][co-banner-image]][co-url]\n\n[co-banner-image]: https://user-images.githubusercontent.com/3538629/42383104-da925942-8168-11e8-8195-868d5fcec170.png\n[co-url]: https://www.chatopera.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatopera%2Fchatopera-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatopera%2Fchatopera-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatopera%2Fchatopera-go-sdk/lists"}