Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I'm trying to build an app that requires me to get the user notifications for a particular Stack Exchange user.

Now, I'm trying to use Java to accomplish this and I came across this wrapper library: StackWrap4J. However, I can't find a method to help me.

Any input would be appreciated.

share|improve this question

1 Answer 1

You can try below java wrapper, notification support is there.

https://github.com/sanjivsingh/stackoverflow-java-sdk

For more detail, follow docs https://github.com/sanjivsingh/stackoverflow-java-sdk/wiki

Query Example :

StackExchangeApiQueryFactory queryFactory = StackExchangeApiQueryFactory.newInstance(
    applicationKey, accessToken,StackExchangeSite.STACK_OVERFLOW);

// get all notifications
PagedList<Notification> notifications = queryFactory
            .newNotificationApiQuery().list();

//  get unread notifications
PagedList<Notification> notification1s = queryFactory
    .newNotificationApiQuery().listNotificationsUnread();


// get notifications by userId
PagedList<Notification> notification2s = queryFactory
.newNotificationApiQuery().withUserIds(2384778)
            .listUserNotifications();
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .