def shorten(self, uri, x_login=None, x_apiKey=None, preferred_domain=None):
        params = dict(uri=uri)
        if preferred_domain:
            params['domain'] = preferred_domain
        if x_login:
            params.update({
                'x_login': x_login,
                'x_apiKey': x_apiKey})
        data = self._call(self.host, 'v3/shorten', params, self.secret)
        return data['data']
Get instance of SELinux service.
dataset/ETHPy150Open bitly/bitly-api-python/bitly_api/bitly_api.py/Connection.shorten--crossover with--dataset/ETHPy150Open openlmi/openlmi-scripts/commands/selinux/lmi/scripts/selinux/__init__.py/get_service