Template request | Bug report | Generate Data Product
Tags: #jupyter #user #snippet #operations #naas
Author: Florent Ravenel
Description: This notebook provides a way to retrieve user information from Jupyter.
from naas_drivers import jupyter
from os import environ
# Jupyter token
JUPYTER_TOKEN = environ.get("JUPYTERHUB_API_TOKEN")
data = jupyter.connect(JUPYTER_TOKEN).get_me()
data