Hello!
I do not know much about how to code to link to Kanboard.
I have a question about how to configure the user creation parameters (for me 
it is a bit confusing) in Python
def newuser():
    from kanboard import Kanboard
    kb = Kanboard('http://localhost/kanboard/jsonrpc.php', 'jsonrpc', 'API 
token')}
    results = kb.createUser({username, password, name, email, role})
    return dict(users=results)

I saw it in the documentation.

   - Parameters:
      - *username* Must be unique (string, required)
      - *password* Must have at least 6 characters (string, required)
      - *name* (string, optional)
      - *email* (string, optional)
      - *role* (string, optional, example: app-admin, app-manager, app-user)
   - Result on success: *user_id*
   - Result on failure: *false*

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to