:calls: `GET /repos/:owner/:repo/license <https://developer.github.com/v3/licenses>`_
        :rtype: :class:`github.ContentFile.ContentFile`

def get_license(self):
        """
        :calls: `GET /repos/:owner/:repo/license <https://developer.github.com/v3/licenses>`_
        :rtype: :class:`github.ContentFile.ContentFile`
        """

        headers, data = self._requester.requestJsonAndCheck(
            "GET",
            self.url + "/license"
        )
        return github.ContentFile.ContentFile(self._requester, headers, data, completed=True)