The GitHub Licenses API returns metadata about popular open source licenses and information about a particular project’s license file. The license key and name conforms to the SPDX specification. This API uses a two-factor authentication. GitHub is one of the software providers that specialize in a wide range of application development.
PyGithub is a Python Library for implementing the GitHub API v3. Authored by Nhomar Hernández, Github resources such as repositories and organizations can be managed from the Python library scripts. More information and documentation can be found on the Github site.