【文件属性】:
文件名称:pepper-mint:Node.js中的非官方mint.com API
文件大小:67KB
文件格式:ZIP
更新时间:2021-05-02 16:11:44
TypeScript
薄荷
node.js中基于的非官方 API。 的
用法
require ( 'pepper-mint' ) ( user , pass , cookie )
. then ( function ( mint ) {
console . log ( "Logged in..." ) ;
// return another promise
// (or you can then() it here, of course,
// if you need more API calls)
return mint . getAccounts ( ) ;
} )
. then ( function ( accounts ) {
// accounts is the array of account objects
accounts . forE
【文件预览】:
pepper-mint-master
----.gitignore(1KB)
----webdriver-util.js(466B)
----package.json(2KB)
----package-lock.json(133KB)
----src()
--------deferred.ts(550B)
--------model()
--------net.ts(4KB)
--------auth()
--------util()
--------core.ts(15KB)
--------index.ts(3KB)
--------model.ts(1KB)
----tsconfig.json(5KB)
----release.py(4KB)
----.eslintrc.js(5KB)
----README.md(5KB)
----test()
--------test.js(1KB)
--------util()
--------.eslintrc.js(201B)
--------README.md(358B)
--------integration-test.js(5KB)