All Questions
Tagged with java stackexchange-api
18 questions
0
votes
2
answers
376
views
How can I get write access to the API?
When trying to set writing access in the scope I receive the application need permission
webView.loadUrl("https://stackoverflow.com/oauth/dialog?client_id=19361&redirect_uri=https://...
0
votes
1
answer
243
views
Is there any way to get the SEDE query result from my Java program using Stack Exchange API?
I want to get a query result from Stack Exchange API using my Java program. For example, I want to pass this URL and get the data of the question with id 805107. I have tried but only got the resulted ...
1
vote
1
answer
195
views
Implicit Grant Type - How to acces the stackexchange API
I'm trying to acces the Stackexchange API via OAuth 2.0 implicit flow in a simple java Desktop application.
I already got an non_expiry acces_token via URL.
I'm not into OAuth and everything I've ...
4
votes
2
answers
267
views
Get GitHub account using StackExchange API
I am trying to use the StackExchange API to retrieve the GitHub link a user has set in his profile.
I am talking about this one:
However I'm not finding methods to retrieve that data. I'm also not ...
1
vote
2
answers
228
views
Stack exchange oauth response unreadable
Hello I am trying to set up an authorization oauth client based on Java and apache Oltu library for stack exchange api.
The response i received looks like this when printed in console
u��n�0��...
-1
votes
1
answer
491
views
Getting Information from Stack Overflow API using Java
Is there a Java wrapper for the current version of Stack Overflow? I have been looking at here and here, but they seem to be outdated for current API version. I keep getting connection refused when ...
1
vote
1
answer
235
views
How to cross check a technical skill (tag) with stackexchange api?
I'm having some custom keywords/tags (technical keywords which are dynamically generated by a Machine Learning module). Example: MVC, aws, etc...
So what I need is to check whether that particular tag ...
-2
votes
1
answer
227
views
Parsing Request as json with stackexchange API
I am struggling with some issue related with http, java and the stackexchange API.
Consider the following URL as string:
private static final String URLSTRING_2 = "http://freegeoip.net/json/"...
10
votes
3
answers
820
views
Consuming stack exchange API
I have tried to upvote a stackoverflow question with the stack exchange api and failed. I have tried a lot but I didn't get it to work.
URL :
http://api.stackexchange.com/2.2/questions/35007869/...
26
votes
4
answers
30k
views
How to parse gzip encoded response with RestTemplate in Spring-Web
After I modified Consuming a RESTful Web Service example to call get users by id from api.stackexchange.com I get JsonParseException:
com.fasterxml.jackson.core.JsonParseException: Illegal character (...
0
votes
1
answer
235
views
Error in fetching questions for specific tag
I am using stackoverflow-java-sdk to fetch recents questions of specific tag.
But i am getting following error. I don't have clue whats wrong with it , earlier same code base was working.
Exception ...
4
votes
1
answer
2k
views
how to decode the Stack Exchange API response
I am trying to retrieve the response of stack exchange api like
[http://api.stackexchange.com/2.2/tags?order=desc&sort=popular&site=stackoverflow]
I am using the following code to retrieve ...
2
votes
2
answers
260
views
StackExchange API - Deserialize Date in JSON Response
I am trying to use stackexchange api. In this link I am trying to get some users information.
If you run, it you will get the JSON response.
{
"items": [
{
"badge_counts": {
"...
0
votes
4
answers
194
views
Java - StackExchange get JSON
Here is my Java code to get some information from stackexchange.
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io....
0
votes
2
answers
92
views
How to get the content of an answer?
I'm trying to build a data set based on Stackoverflow question and answers for testing some Natural Language Processing algorithms. So far, I have a small Java program that based on a set of keywords ...