def send_note(self, to, subject="", body="", noetid=""):

        """Send a note

        :param to: The username(s) that this note is to
        :param subject: The subject of the note
        :param body: The body of the note
        :param noetid: The UUID of the note that is being responded to
        """

        if self.standard_grant_type is not "authorization_code":
            raise DeviantartError("Authentication through Authorization Code (Grant Type) is required in order to connect to this endpoint.")

        response = self._req('/notes/send', post_data={
            'to[]' : to,
            'subject' : subject,
            'body' : body,
            'noetid' : noetid
        })

        sent_notes = []

        for item in response['results']:
            n = {}
            n['success'] = item['success']
            n['user'] = User()
            n['user'].from_dict(item['user'])

            sent_notes.append(n)

        return sent_notes
def send_note ( self , to , subject = "" , body = "" , noetid = "" ) : if self . standard_grant_type is not "authorization_code" : raise DeviantartError ( "Authentication through Authorization Code (Grant Type) is required in order to connect to this endpoint." ) response = self . _req ( '/notes/send' , post_data = { 'to[]' : to , 'subject' : subject , 'body' : body , 'noetid' : noetid } ) sent_notes = [ ] for item in response [ 'results' ] : n = { } n [ 'success' ] = item [ 'success' ] n [ 'user' ] = User ( ) n [ 'user' ] . from_dict ( item [ 'user' ] ) sent_notes . append ( n ) return sent_notes
Send a note

        :param to: The username(s) that this note is to
        :param subject: The subject of the note
        :param body: The body of the note
        :param noetid: The UUID of the note that is being responded to