1ot node.js连接器 api的连接器 安装 纱 yarn add 1ot-api npm npm install 1ot-api 用法 import Connector , { primaryStatuses , secondaryStatuses } from '1ot-api' const username = '...' const password = '...' ; ( async ( ) => { const connector = new Connector ( /* tokenData if it was saved */ ) // Happen every time new access token received connector . on ( 'token' , ( tokenData ) => { const