momoapi-node:用于节点的MTN MoMo API客户端

时间:2021-05-02 13:46:27
【文件属性】:
文件名称:momoapi-node:用于节点的MTN MoMo API客户端
文件大小:114KB
文件格式:ZIP
更新时间:2021-05-02 13:46:27
nodejs momoapi TypeScript MTN MoMo API NodeJS客户端 使用我们的MTN MoMo API增强您的应用程序 加入我们活跃,参与的社区: | 用法 安装 将库添加到您的项目 npm install --save mtn-momo 沙盒凭证 接下来,我们需要获取User ID和User Secret并且为此,我们将需要使用预订的Product的Primary Key ,并指定host 。 我们如下运行momo-sandbox 。 # # Within a project npx momo-sandbox --host example.com --primary-key 23e2r2er2342blahblah 如果一切顺利,它将在终端上打印凭据。 Momo Sandbox Credentials { " userSecret " : " b2e23bf4e3984a16a55dbfc2d45f
【文件预览】:
momoapi-node-master
----.gitignore(210B)
----tsconfig.json(277B)
----README.md(8KB)
----.github()
--------ISSUE_TEMPLATE()
----test()
--------validate.test.ts(11KB)
--------mocha.opts(100B)
--------errors.test.ts(4KB)
--------index.test.ts(1KB)
--------auth.test.ts(3KB)
--------disbursements.test.ts(5KB)
--------collections.test.ts(5KB)
--------chai.ts(120B)
--------users.test.ts(1KB)
--------mock.ts(2KB)
--------client.test.ts(2KB)
----commitlint.config.js(78B)
----examples()
--------disbursements.js(1KB)
--------collections.js(968B)
----LICENSE(1KB)
----.gitattributes(66B)
----package.json(2KB)
----tslint.json(335B)
----src()
--------validate.ts(3KB)
--------errors.ts(4KB)
--------client.ts(1KB)
--------common.ts(3KB)
--------auth.ts(2KB)
--------users.ts(982B)
--------disbursements.ts(6KB)
--------index.ts(3KB)
--------collections.ts(6KB)
--------cli.ts(969B)
----release.config.js(43B)
----.npmignore(215B)
----.travis.yml(320B)
----package-lock.json(391KB)

网友评论