I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers.
- Do I need to to register for an API key, or just use
AnswersForUserRequestConfiguration
? - How can I filter answers by a tag?
INFO: No API key provided, request limit will be restricted.
List<Answer> answers = StackAppClient.getAnswersForUser(241590);
long votes=0;
for ( Answer a : answers ) {
votes += a.getUpVoteCount();
System.err.println("answer:" + a);
}
System.err.println("votes:" + votes);