Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.47 KB

GitHub_Get_profile_from_user.md

File metadata and controls

43 lines (24 loc) · 1.47 KB



Template request | Bug report | Generate Data Product

Tags: #github #user #profile #operations #snippet #dataframe

Author: Sanjeet Attili

Description: This notebook provides a way to retrieve a user's profile information from GitHub.

Input

Imports

from naas_drivers import github

Variables

USER_URL = "https://github.com/FlorentLvr"

GITHUB_TOKEN = "ghp_Stz3qlkR3b00nKUW8rxJoxxxxxxxxxxxx"

Model

Get profile from user

df_user = github.connect(GITHUB_TOKEN).users.get_profile(USER_URL)

Output

Display result

df_user