{"id":21406632,"url":"https://github.com/ringcentral/engage-digital-js","last_synced_at":"2025-07-14T00:32:38.547Z","repository":{"id":42207240,"uuid":"187951716","full_name":"ringcentral/engage-digital-js","owner":"ringcentral","description":"Simple JS API wrapper for RingCentral Engage API","archived":false,"fork":false,"pushed_at":"2023-01-07T04:10:44.000Z","size":1641,"stargazers_count":2,"open_issues_count":12,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-29T22:03:48.571Z","etag":null,"topics":["engage","engage-digital"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ringcentral.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-22T02:53:59.000Z","updated_at":"2024-06-12T02:35:19.000Z","dependencies_parsed_at":"2023-02-06T11:31:11.970Z","dependency_job_id":null,"html_url":"https://github.com/ringcentral/engage-digital-js","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ringcentral/engage-digital-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringcentral","download_url":"https://codeload.github.com/ringcentral/engage-digital-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265227898,"owners_count":23731059,"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":["engage","engage-digital"],"created_at":"2024-11-22T16:41:05.721Z","updated_at":"2025-07-14T00:32:37.945Z","avatar_url":"https://github.com/ringcentral.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RingCentral Engage Digital Client for JavaScript\n\n[![Build Status](https://travis-ci.com/ringcentral/engage-digital-js.svg?branch=release)](https://travis-ci.com/ringcentral/engage-digital-js)\n[![Coverage Status](https://coveralls.io/repos/github/ringcentral/engage-digital-js/badge.svg?branch=release)](https://coveralls.io/github/ringcentral/engage-digital-js?branch=release)\n\nSimple JavaScript wrapper for RingCentral Engage API. [api docs](https://engage-digital-api-docs.readthedocs.io/en/latest).\n\n## Installation\n\n### Node.js\n\n```bash\nnpm i ringcentral-engage-client\n```\n\n## Usage\n\n### Api token\n\nhttps://developers.ringcentral.com/engage/digital/guide/basics/auth\n\n```js\nimport RingCentralEngage from 'ringcentral-engage-client'\n\nconst rc = new RingCentralEnage(\n  process.env.RINGCENTRAL_ENGAGE_API_TOKEN,\n  process.env.RINGCENTRAL_ENGAGE_SERVER_URL\n)\nlet r = await rc.get('/1.0/roles').catch(console.log)\nexpect(r.data.records.length \u003e 0).toBe(true)\n```\n\n### Oauth\n\nhttps://developers.ringcentral.com/engage/digital/guide/app-sdk/config\n\n```js\nimport RingCentralEngage from 'ringcentral-engage-client'\n\nconst ed = new RingCentralEngage({\n  server: env.RINGCENTRAL_ENGAGE_DIGITAL_SERVER,\n  authUrl: env.RINGCENTRAL_ENGAGE_DIGITAL_APP_AUTH_URL,\n  tokenUrl: env.RINGCENTRAL_ENGAGE_DIGITAL_APP_TOKEN_URL,\n  clientId: env.RINGCENTRAL_ENGAGE_DIGITAL_APP_KEY,\n  clientSecret: env.RINGCENTRAL_ENGAGE_DIGITAL_APP_SECRET,\n  redirectUri: env.RINGCENTRAL_APP_SERVER + '/oauth'\n})\nawait ed.authorize({ code })\nlet userInfo = await ed.get('/1.0/users/me')\nuserInfo = userInfo.data\nconst id = userInfo.id.toString()\n\n```\n\nCheck https://github.com/ringcentral/engage-digital-app-sdk-demo-app as example\n\n## Test\n\n```bash\ncp .sample.env .env\n# edit .env fill your server and spi key\nnpm run test\n```\n\n## Credits\n\nBased on [Tyler](https://github.com/tylerlong)'s [https://github.com/tylerlong/ringcentral-js-concise](https://github.com/tylerlong/ringcentral-js-concise).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fengage-digital-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringcentral%2Fengage-digital-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fengage-digital-js/lists"}