PyGithub is a Python library to use the Github API.
''' Youtube Channel : Asim Code
PyGithub repository example in Python
https://youtu.be/95Qu8icyjAk
'''
from github import Github
my_git = Github("your_token")
for repo in my_git.get_user().get_repos():
print(repo.name)
asim_code = my_git.get_repo("asimcode2050/Asim-Code-Youtube-Channel-Code")
contents = asim_code.get_contents("")
for content_file in contents:
print(content_file)