def PostDirectMessage(self, user, text):
    if not self._username:
      raise TwitterError("The twitter.Api instance must be authenticated.")
    url = TWITTER_API_ROOT + 'direct_messages/new.json'
    data = {'text': text, 'user': user}
    json = self._FetchUrl(url, post_data=data)
    data = simplejson.loads(json)
    self._CheckForTwitterError(data)
    return DirectMessage.NewFromJsonDict(data)
nodeCast
dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Api.PostDirectMessage--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DependNode.cast