def get_note(self, noteid):
        """ method to get a specific note

        Arguments:
            - noteid (string): ID of the note to get

        Returns:
            A tuple `(note, status)`

            - note (dict): note object
            - status (int): 0 on sucesss and -1 otherwise

        """
        # request note
        params = '/%s?auth=%s&email=%s' % (str(noteid), self.get_token(),
                                           self.username)
        request = Request(DATA_URL + params)
        try:
            response = urllib2.urlopen(request)
        except HTTPError, e:
            return e, -1
        except __HOLE__, e:
            return e, -1
        note = json.loads(response.read())
        #use UTF-8 encoding
        if isinstance(note["content"], str):
            note["content"] = note["content"].encode('utf-8')

        if "tags" in note:
            note["tags"] = [t.encode('utf-8') if isinstance(t, str) else t for t in note["tags"]]

        return note, 0
dataset/ETHPy150Open cpbotha/nvpy/nvpy/simplenote.py/Simplenote.get_note