Path: blob/master/GitHub/GitHub_Get_profiles_from_teams.ipynb
2973 views
GitHub - Get profiles from teams
Tags: #github #team #operations #snippet #dataframe
Author: Sanjeet Attili
Last update: 2023-04-12 (Created: 2022-03-18)
Description: This notebook allows users to retrieve profiles from teams on GitHub.
Input
Import libraries
Setup Github
How to find your personal access token on Github?
First we need to create a personal access token to get the details of our organization from here: https://github.com/settings/tokens
You will be asked to select scopes for the token. Which scopes you choose will determine what information and actions you will be able to perform against the API.
You should be careful with the ones prefixed with write:, delete: and admin: as these might be quite destructive.
You can find description of each scope in docs here (https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps).