Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.25 KB

github-api-integration-module-shell-scripting.md

File metadata and controls

24 lines (14 loc) · 1.25 KB

GITHUB API INTEGRATION MODULE USING SHELL SCRIPTING

This module can be re-used This shell-scripting file can be used to other teams as well

image

  1. A script can be written to retrieve repos, active users, and issue information. The script can also be used as a module, allowing users to integrate it into their own applications. In a real-life scenario, the script was used to retrieve the list of repositories created by team X and the number of active users. This method allows for efficient and secure communication between developers and GitHub users.
  2. Uses Github API

image

./github-script-demo.sh $password /orgs/devops-by-examples/repos -- Will get all the repos in the oranization ./github-script-demo.sh $password /user -- This script will get all the info about user GITHUB API docs for REST API,
GITHUB REST API DOC : https://docs.github.com/en/rest/guides/getting-started-with-the-rest-api?apiVersion=2022-11-28

repo linke https://github.com/devops-by-examples/Shell/blob/main/github-api-integration-module.sh