{"id":20682225,"url":"https://github.com/dev-openapi/douyin-miniapp","last_synced_at":"2025-03-10T20:44:49.529Z","repository":{"id":141681704,"uuid":"612807918","full_name":"dev-openapi/douyin-miniapp","owner":"dev-openapi","description":"一个用protobuf生成的抖音小程序openapi接口","archived":false,"fork":false,"pushed_at":"2023-07-13T02:28:22.000Z","size":149,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-17T15:51:57.304Z","etag":null,"topics":["douyin","douyin-api","douyin-miniapp","go-client","open-api-client","protobuf-go","protoc-gen"],"latest_commit_sha":null,"homepage":"https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/server/server-api-introduction","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-openapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-12T03:02:08.000Z","updated_at":"2023-07-18T09:24:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"eea306bf-5637-4902-baa5-cc9f53edcbac","html_url":"https://github.com/dev-openapi/douyin-miniapp","commit_stats":null,"previous_names":["g-openapi/dyma","ga-openapi/dyma","open-api-go/dyma","dev-openapi/dyma","dev-openapi/douyin-miniapp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fdouyin-miniapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fdouyin-miniapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fdouyin-miniapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-openapi%2Fdouyin-miniapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-openapi","download_url":"https://codeload.github.com/dev-openapi/douyin-miniapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242926229,"owners_count":20207754,"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":["douyin","douyin-api","douyin-miniapp","go-client","open-api-client","protobuf-go","protoc-gen"],"created_at":"2024-11-16T22:13:03.921Z","updated_at":"2025-03-10T20:44:49.513Z","avatar_url":"https://github.com/dev-openapi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# douyin-miniapp\n\n微信小程序接口，使用protobuf生成的\n\n生成工具是[protoc-gen-go_api](https://github.com/dev-openapi/protoc-gen-go_api)\n\n\n## 如何使用\n\n在自己的项目中添加此包 github.com/dev-openapi/douyin-miniapp\n\n初始化包 `dyLoginService := miniapp.NewLoginService()`\n\n然后根据自己的需要，用`dyLoginService`去调用想用的接口\n\n## 如何添加新接口\n\n首先要安装protoc,protoc-gen-go和protoc-gen-go_api。前面两个如何安装，请参考网上教程搜索\n\n```shell\ngo install github.com/dev-openapi/protoc-gen-go_api@latest\n```\n\n下载[protocol](https://github.com/dev-openapi/protocol)仓库\n\n下载本项目，与protocol是同一级目录\n\n然后根据文档在protocol项目中写好proto文件，再执行make douyin-miniapp会自动生成到本项目目录，最后提交两个项目即可\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-openapi%2Fdouyin-miniapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-openapi%2Fdouyin-miniapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-openapi%2Fdouyin-miniapp/lists"}