':calls: `GET /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/keys>`_
:param id: integer
:rtype: :class:`github.RepositoryKey.RepositoryKey`'

def get_key(self, id):

    assert isinstance(id, (int, long)), id
    (headers, data) = self._requester.requestJsonAndCheck('GET', ((self.url + '/keys/') + str(id)))
    return github.RepositoryKey.RepositoryKey(self._requester, headers, data, completed=True, repoUrl=self.url)
