widgetsapilib
v1.0.3
Published
WigetAPI Library
Downloads
2
Readme
widgetsapilib
WigetAPI Library
Install
npm install --save widgetsapilib
Usage
Three Class are exported
- AuthApi : For login, logout, refresh_token
- UsersApi : For Signup, ResetPassword, CheckEmail and Profile Updates
- WidgetsApi : For all Widgets CRUD, and visible widget
/**
* Optional: BASE_URL and API_VERSION is embeded to use deployed api
*/
new Class(BASE_URL, API_VERSION).method(params); //will return a promise
Refer to /test for all methods which can be called using above syantax
License
MIT © niteshpurohit