当有人回答您的问题(或网站上的许多其他操作)时,您会收到一些“新邮件”!在网站左上方的“StackExchange”菜单中键入图标。
在此处查看API文档:
http://api.stackoverflow.com/1.0/usage
我没有找到一种方法来获取已登录用户的“新邮件”计数。是否可以?
最佳答案
当前无法使用stackoverflow API v1.1访问此信息。但是,stackoverflow API v2.0的变更草案确实包含您要查找的内容,值得关注。
Inbox Access
A new route, /users/{ids}/inbox, will return items in inboxes. It will be just enough information for display purposes, a la stackexchange.com’s inbox tab. This method will require an auth code with
read_inbox
permissions granted.
关于web-applications - 堆栈溢出API : get the user's "new mail!" notification?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7799931/