openfrp-api
v1.0.3
Published
OpenFrp API
Downloads
125
Readme
OpenFrp-API
A OpenFrp API.
Install
npm install openfrp-api --save
Usage
import {info} from 'node:console';
import OpenFrp, {LoginInfo, UserInfo} from 'oaci';
const openFrp: OpenFrp = new OpenFrp('Username', 'Password');
const userInfo: UserInfo = await openFrp.getUserInfo;
const Sign: LoginInfo = await openFrp.Sign;
info(userInfo, Sign);