Is there an API function to get the contents of the user's inbox? For example, my inbox looks kind of like this:
2 comments on Bash Prompt keeps disappearing
What does that PS1 accomplish that PS1='\u@\h
comment on Get the current response from a RequestContext
When you say 'get_request()' you are referring
Is there a way to get this information? I'd essentially like to mimic the functionality of the inbox in my external application.
Otherwise, it looks like I'll be making a lot of queries and storing info in a local database and watching changes... not fun:
for question in get_user_questions(): archived_question = None if has_archived_question(question): archived_question = get_archived_question() for comment in get_question_comments(question): if archived_question and comment not in archived_question.comments: notify_new_comment(comment) archived_question.comments.append(comment) else: notify_new_comment(comment) for answer in get_question_answers(question): if archived_question and answer not in archived_question.answers: notify_new_answer(answer) archived_question.answers.append(answer) else: notify_new_answer(answer) for comment in get_answer_comments(answer) ....
ad infinitum. I can only imagine how many queries this will generate just to simply find all new comments and answers for a given user. Is there an optimized way of doing this?