{"id":21291894,"url":"https://github.com/idea2app/lark-client-api","last_synced_at":"2025-03-15T16:40:25.729Z","repository":{"id":57673470,"uuid":"478126624","full_name":"idea2app/Lark-client-API","owner":"idea2app","description":"Unofficial Lark client JS API based on ECMAScript 6 Promise \u0026 TypeScript 4, makes it easier to build Web or Mini-app in Lark client.","archived":false,"fork":false,"pushed_at":"2022-04-15T08:24:02.000Z","size":115,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T04:17:15.012Z","etag":null,"topics":["client","lark","mini-app","promise","sdk","web"],"latest_commit_sha":null,"homepage":"https://ideapp.dev/Lark-client-API/","language":"TypeScript","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/idea2app.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}},"created_at":"2022-04-05T12:50:31.000Z","updated_at":"2025-01-30T09:00:55.000Z","dependencies_parsed_at":"2022-08-31T12:50:39.932Z","dependency_job_id":null,"html_url":"https://github.com/idea2app/Lark-client-API","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FLark-client-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FLark-client-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FLark-client-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FLark-client-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idea2app","download_url":"https://codeload.github.com/idea2app/Lark-client-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762227,"owners_count":20343972,"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":["client","lark","mini-app","promise","sdk","web"],"created_at":"2024-11-21T13:46:39.544Z","updated_at":"2025-03-15T16:40:25.712Z","avatar_url":"https://github.com/idea2app.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lark client API\n\n[Lark client JS API][1] unofficial wrapper based on [ECMAScript 6 Promise][2] \u0026 [TypeScript 4][3]\n\n[![CI \u0026 CD](https://github.com/idea2app/Lark-client-API/actions/workflows/main.yml/badge.svg)][4]\n\n[![NPM](https://nodei.co/npm/lark-client-api.png?downloads=true\u0026downloadRank=true\u0026stars=true)][5]\n\n## Document\n\nhttps://ideapp.dev/Lark-client-API/\n\n## Modules\n\n1. [Utility](source/global/Utility.ts)\n2. [Authorization](source/global/Authorization.ts)\n3. [Chat](source/global/Chat.ts)\n\n## Usage\n\n`app.js` as your entry for example:\n\n```javascript\nimport { h5sdk, tt } from 'lark-client-api';\n\n// in WebView\nwindow.h5sdk.error(console.error);\n\nh5sdk\n    .config({\n        // your configuration\n    })\n    .then(() =\u003e h5sdk.ready())\n    .then(() =\u003e {\n        // your logic\n    });\n\n// in Mini App\ntt.login({\n    // your configuration\n}).then(() =\u003e {\n    // your logic\n});\n```\n\n## Inspired by\n\n1. [WeChat JS-SDK Promise](https://github.com/xialeistudio/wechat-jssdk-promise)\n2. [WeChat Mini-Program API Typings](https://github.com/wechat-miniprogram/api-typings)\n\n## Related with\n\n-   Lark Node.js SDK: https://github.com/idea2app/Lark-TS-SDK\n\n[1]: https://open.feishu.cn/document/uYjL24iN/uADOy4CM4IjLwgjM\n[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n[3]: https://www.typescriptlang.org/\n[4]: https://github.com/idea2app/Lark-client-API/actions/workflows/main.yml\n[5]: https://nodei.co/npm/lark-client-api/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidea2app%2Flark-client-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidea2app%2Flark-client-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidea2app%2Flark-client-api/lists"}