Get user information
Tags: #jupyter
Author: Unknown

Input

Import library

1
from naas_drivers import jupyter
Copied!

Variables

1
token = "*********"
Copied!

Model

Connect to jupyter

1
jp = jupyter.connect(token)
Copied!

Output

Get the user

1
me = jp.get_me()
2
me
Copied!
1
uptime = jp.get_me_uptime()
2
uptime
Copied!
Copy link
Edit on GitHub