def write_link(self, name=None, url=None, description=None, **args): 
        if url:
            args['name'] = name
            args['url'] = url
            args['description'] = description
        args = self._fixnames(args)
        if not 'url' in args:
            raise TumblrError("Must supply url argument")

        self.auth_check()
        args['type'] = 'link'
        return self._write(args)
dataset/ETHPy150Open ialex/opentumblr-qt/opentumblrqt/tumblr.py/Api.write_link/original