plasma-user-js-client

    1.0.4 • Public • Published

    Users

    Kind: global class

    new Users(url)

    User API JS client

    Param Description
    url Root path of the service, i.e. http://service-users.sol.dev/api/v1

    users.theme(user_id)

    Returns user's publicly available theme (name, avatar, colors).

    You will get an object {"userName":"...string","avatar":"...string","background":"#42a5f5"}

    Kind: instance method of Users

    Param Description
    user_id User id

    Keywords

    none

    Install

    npm i plasma-user-js-client

    DownloadsWeekly Downloads

    0

    Version

    1.0.4

    License

    MIT

    Last publish

    Collaborators

    • soulwish
    • tmrdowner
    • ch-tm
    • viram
    • kyrylovoronoi
    • stevenreed