'Paste the text into a pastebin and return the URL.
Args:
name: The username to post as.
title: The post title.
text: The text to post.
parent: The parent paste to reply to.'

def paste(self, name, title, text, parent=None):

    data = {'text': text, 'title': title, 'name': name, 'apikey': 'ihatespam'}
    if (parent is not None):
        data['reply'] = parent
    url = QUrl(urllib.parse.urljoin(self.API_URL, 'create'))
    self._client.post(url, data)
