Skip to content

derak/github-api-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

github-api-bash

GitHub API v3 scripts

#github_org_email_hooks.sh

Use GitHub's API to loop through every repo in an organization and add an email service hook Has multi-page support for repos, not orgs. For use with GitHub Enterprise.

Auth token is read in from a separate file to make sure it is not committed into GitHub.

#To use with Mac Install jq to parse JSON response => brew install jq

If you need to install brew => ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

#References

GitHub API http://developer.github.com/v3/

An introduction to curl using GitHub's API https://gist.github.com/caspyin/2288960

About

GitHub API v3 bash scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages