'Returns a Torrent for the passed ID, associated with this API object.'

def get_torrent(self, id):

    id = int(id)
    if (id in self.cached_torrents.keys()):
        return self.cached_torrents[id]
    else:
        return Torrent(id, self)
