Clone the GitHub Python API repository (macOS)
The first step to working with the Python API is to clone the Python API repository. A repository contains all a project's files and each file's revision history. You can clone a repository from GitHub.com to your local computer.
The Python API repository can be found at the following link: https://github.com/shotgunsoftware/python-api
Under Code, select Download ZIP.
Give the download a few minutes to complete.