November's Paddleball Marathon

    widgetsapilib

    1.0.3 • Public • Published

    widgetsapilib

    WigetAPI Library

    NPM JavaScript Style Guide

    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

    Keywords

    none

    Install

    npm i widgetsapilib

    DownloadsWeekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    28 kB

    Total Files

    18

    Last publish

    Collaborators

    • niteshpurohitit