{"id":25360950,"url":"https://github.com/yanndebray/github-api","last_synced_at":"2026-04-13T02:04:17.832Z","repository":{"id":275491828,"uuid":"926232867","full_name":"yanndebray/github-api","owner":"yanndebray","description":"🐙 Retrieve info from the GitHub API with Python ","archived":false,"fork":false,"pushed_at":"2025-02-02T22:23:15.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T21:56:17.591Z","etag":null,"topics":["api","github","github-api","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanndebray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-02T21:15:36.000Z","updated_at":"2025-02-02T22:25:26.000Z","dependencies_parsed_at":"2025-02-02T22:24:24.841Z","dependency_job_id":"682cdd94-6c2d-4515-84cf-0d93777486d6","html_url":"https://github.com/yanndebray/github-api","commit_stats":null,"previous_names":["yanndebray/github-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndebray%2Fgithub-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndebray%2Fgithub-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndebray%2Fgithub-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanndebray%2Fgithub-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanndebray","download_url":"https://codeload.github.com/yanndebray/github-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974289,"owners_count":21026739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","github","github-api","python"],"created_at":"2025-02-14T21:56:18.881Z","updated_at":"2026-04-13T02:04:17.780Z","avatar_url":"https://github.com/yanndebray.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub API 🐙\n\nUse Python to interact with the GitHub API.\n\n`pip install PyGithub`\n\n## Timeline\n\nUsing the GraphQL API as the REST/Python API only goes back 90 days.\n\n![timeline](img/timeline.png)\n\n## PyGitHub\n\n```python\nfrom github import Github\ng = Github()\nrepo = g.get_repo(\"yanndebray/matlab-with-python-book\")\ncommits = repo.get_commits()\nprint(f\"Repo {repo.name} has {len(list(commits))} commits\")\nfor commit in commits:\n    print(commit.commit.message)\n```\n\n## GitHub Actions / Workflows\n\npage build and deployment\n![dynamic workflows](img/action.png)\n\ndaily tech podcast\n![scheduled workflows](img/action2.png)\n\n## Resources\n\n- [GitHub API v3](https://docs.github.com/en/rest)\n- [GitHub API Tutorial - Youtube](https://www.youtube.com/watch?v=-kFyPaHNgXo\u0026ab_channel=Andy%27sTechTutorials)\n- [[Tutorial] - How to use GitHub REST API for Beginners - Youtube](https://www.youtube.com/watch?v=OvfLavRD1Os\u0026ab_channel=Andy%27sTechTutorials)\n- [github REST API v3 Crash Course with Vanilla Javascript (No dependencies) - Youtube](https://www.youtube.com/watch?v=5QlE6o-iYcE\u0026ab_channel=HusseinNasser)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanndebray%2Fgithub-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanndebray%2Fgithub-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanndebray%2Fgithub-api/lists"}