From the course: Building GitHub Bots
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Examples of GitHub bots
From the course: Building GitHub Bots
Examples of GitHub bots
- [Instructor] All the GitHub apps that we looked at just now uses the GitHub API in one way or the other. Since we will extensively interact with the GitHub REST API, it is important to understand what will be included in the API calls, authentication methods, and rate limits. You can easily test any of the rest endpoints using the GitHub CLI, Curl, or JavaScript or Python. A request to the GitHub API includes the following, HTTP method, path, headers, media type, authentication, parameters, and sometimes it uses a body in case of creating and updating resources and HTTP methods like POST, PUT, and PATCH. Every request to the REST API includes an HTTP method and a PATH. Depending on the rest API endpoint, you might also need to specify request headers, authentication information, query parameters, or body parameters. The REST API reference documentation describes the HTTP method path and parameters for every endpoint. It also displays example requests and response for each endpoint…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.