This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: You need to plug in your github username, as well as a github personal access token found through Settings -> Developer Settings -> Personal Access Tokens -> Tokens (classic). | |
import requests | |
import os | |
# Your Github username | |
username = "<github_username>" | |
# API endpoint to get a list of all repositories | |
url = f"https://api.github.com/users/{username}/repos" |