github api 3 code example Example 1: github python api pip install PyGithub Example 2: Github API documentation curl -u "username" https://api.github.com