JupyterLab extension to get info from hub api

hey could you please show the codes?