GitHub REST API documentation
Create integrations, retrieve data, and automate your workflows with the GitHub REST API.
Create integrations, retrieve data, and automate your workflows with the GitHub REST API.
This guide shows you how to build, test, and publish a Python package. GitHub-hosted runners have a tools cache with pre-installed software, which includes Python and PyPy. You don't have to install anything!
Use the REST API to manage repositories on GitHub. List organization repositories. Lists repositories for the specified organization. Note. In ...
Using the `setup-python` action is the recommended way of using Python with GitHub Actions because it ensures consistent behavior across different runners and different versions of Python. If you are using a self-hosted runner, you must install Python and add it to `PATH`.
Mar 10, 2026 · GitHub REST API documentation Create integrations, retrieve data, and automate your workflows with the GitHub REST API.
Choose an endpoint to make a request to. You can explore GitHub's REST API documentation to discover endpoints that you can use to interact with GitHub.
python import asyncio import os. from azure.identity import DefaultAzureCredential from copilot import CopilotClient from copilot.session import PermissionHandler, ProviderConfig.
Use the REST API to create, modify, and delete Base64 encoded content in a repository.
[GitHub CLI documentation](/en/github-cli) GitHub CLI is an open source tool for using GitHub from your computer's command line. When you're working from the command line, you can use the GitHub CLI to save time and avoid switching context. *
Use the REST API to create, manage and control the workflow of public and private GitHub repositories.
Use the REST API to manage pull requests and pull request reviews.
python from copilot import CopilotClient, PermissionDecisionApproveOnce. async def main(): client = CopilotClient() await client.start().
Using GitHub CLI in the command line GitHub CLI is the easiest way to use the GitHub REST API from the command line. Install GitHub CLI on macOS, Windows, or Linux. For more information, see Installation in the GitHub CLI repository. To authenticate to GitHub, run the following command from your terminal. gh auth login Select where you want to authenticate to: If you access GitHub at GitHub ...
Use the official GitHub Docs API to programmatically list pages, search, and retrieve GitHub documentation content.
Use the REST API to control and manage all your GitHub organizations.
Get started, troubleshoot, and make the most of GitHub. Documentation for new users, developers, administrators, and all of GitHub's products.