{"id":20459736,"url":"https://github.com/rosbit/go-wxmp-api","last_synced_at":"2025-03-05T11:16:55.793Z","repository":{"id":42177863,"uuid":"297197520","full_name":"rosbit/go-wxmp-api","owner":"rosbit","description":"微信小程序SDK，支持服务多个小程序，配置简单，使用方便","archived":false,"fork":false,"pushed_at":"2023-03-08T05:46:53.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T00:24:42.196Z","etag":null,"topics":["golang","mini-program","sdk","wechat"],"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/rosbit.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":"security/image-check.go","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-21T01:26:51.000Z","updated_at":"2023-01-04T06:49:04.000Z","dependencies_parsed_at":"2024-06-21T01:07:44.675Z","dependency_job_id":"8ccd11e6-6c2d-414d-84df-cdf7226ce8f2","html_url":"https://github.com/rosbit/go-wxmp-api","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/rosbit%2Fgo-wxmp-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-wxmp-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-wxmp-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosbit%2Fgo-wxmp-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosbit","download_url":"https://codeload.github.com/rosbit/go-wxmp-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242014715,"owners_count":20057879,"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":["golang","mini-program","sdk","wechat"],"created_at":"2024-11-15T12:17:07.990Z","updated_at":"2025-03-05T11:16:55.768Z","avatar_url":"https://github.com/rosbit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 微信小程序开发SDK\n\ngo-wxmp-api是对微信小程序API的封装，可以当作SDK使用，特点\n - 支持多个小程序\n\n## 使用方法\n\n```go\npackge main\n\nimport (\n\t\"github.com/rosbit/go-wxmp-api\"\n\t\"github.com/rosbit/go-wxmp-api/auth\"\n)\n\nfunc main() {\n\twxmpapi.SetTokenStorePath(\"/path/to/store/token\")\n\twxmpapi.SetWxmpConf(\"cfg1\", \"appId1\", \"appKey1\")\n\twxmpapi.SetWxmpConf(\"cfg2\", \"appId2\", \"appKey2\")\n\n\tsession, err := auth.Code2Session(\"cfg1\", \"code-from-front-end\")\n\t// usage of session\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosbit%2Fgo-wxmp-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosbit%2Fgo-wxmp-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosbit%2Fgo-wxmp-api/lists"}