3
The StackWrap4J library is very obsolete. Its page states:
The latest build was tested against version 1.0 of the API on July
28th.
But API version 1 has been shut down for quite a while. The API is currently at version 2.2.
Choose a different library. The list is at stackapps.com/questions/tagged/library+java. Choose one that supports API version 2....
2
stackoverflow-java-sdk artifacts have been upload to Maven Central.
Now, You simply add maven dependency in your project POM
Dependency
<dependency>
<groupId>com.googlecode.stackexchange</groupId>
<artifactId>stackoverflow-java-sdk-release</artifactId>
<version>2.2.0</version>
</...
2
a few questions i have about your API.
based on the user can I get a list of all questions and answers the
user has?
giving a user can I get a List<Questions> and List<Answer> that the user has made?
will the answer object have the following methods:
Answer.addPlus()
Answer.removePlus()
Answer.addNegitive()
Answer.removeNegitive()
Answer....
2
Vineet,
Try below one, I have added support for Stack Exchange API V2.x
https://github.com/sanjivsingh/stackoverflow-java-sdk
For more detail, follow docs
https://github.com/sanjivsingh/stackoverflow-java-sdk/wiki
1
The API responses are always compressed and the default compression is GZIP.
This means that you must use the proper GZIP-handling libraries to fetch the data.
So, instead of:
BufferedReader in = new BufferedReader (new InputStreamReader (
yc.getInputStream () ));
You would use something more like:
BufferedReader in = new BufferedReader (new ...
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....
1
Bug
The link to the user profile is wrong: http://http://api.stackoverflow.com/users/22656 (should be http://api.stackoverflow.com/users/22656 http://stackoverflow.com/users/22656).
Screenshot:
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
java × 26support × 10
app × 9
api × 7
obsolete × 5
library × 5
android × 4
api-v2 × 3
api-v2.2 × 3
discussion × 2
feature-request × 1
authentication × 1
website × 1
reputation × 1
oauth2 × 1
stackoverflow × 1
testing × 1