Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
3
votes
1 answer

How can I get access to StackOverflow data?

I need to create reports around tag usage and unanswered posts. What're the different mechanisms available to access this data?
Uma Subramanian
  • 103
  • 1
  • 8
3
votes
1 answer

Stack Overflow timeline (feeds) of a user

How to get the Stack Overflow timeline (feeds) of a user? What are the steps to follow, if a user wants to display his or others Stack Overflow timeline/feeds in his website.
Newton Joshua
  • 745
  • 1
  • 10
  • 21
3
votes
1 answer

PHP Curl request to Stackoverflow API

I'm trying to use $curl in PHP to access the stackoverflow api to get the basic info back. I have review the docs and I've tried about a hundred combinations of header and curl_setopt commands and nothing will return correctly. Has anyone used curl…
usumoio
  • 3,500
  • 6
  • 31
  • 57
3
votes
1 answer

How to get count of questions, answers, reputation, badges and people reached of a user using stackexchange api?

I am using Javascript SDK of stackexchange API to get the data. First, i am logging in using the SDK and in return I am getting a JSON reponse about the details of the logged user of which, the user_id and token are of my use. Now, using the user_id…
amulya349
  • 1,210
  • 2
  • 17
  • 26
3
votes
1 answer

How to get questions using StackOverflow API V 2.2 in PHP

I am working on a project and want to get questions from stack overflow using Stack Overflow API. I searched the way how to achieve the same here: how to get a list of questions from stackoverflow API based on search query? Getting null as response…
sachinmanit
  • 89
  • 10
3
votes
2 answers

stack exchange api post method

I am trying to upvote a question using the stackexchange API in android. using the URL https://api.stackexchange.com/2.2/questions/{questionID}/upvote but in the log its just showing something like…
Sudheer
  • 327
  • 3
  • 15
3
votes
2 answers

Make a request to StackExchange Api

I'm trying to request list of tags on StackExchange in JSON format by url, but problem is, that I'm getting some broken text instead of JSON, so I can't even parse it. P.S. Done it with the help of RestSharp. private void Refresh() { var…
3
votes
1 answer

Http request to stackexchange api returns unreadable json

I'm trying to fetch some json data from the stackexchange api. Receiving the OAuth code and access token works fine. But when calling the actual datafetching endpoints, the response does look wierd. Probably encoded or similar. The request looks…
cbass
  • 2,548
  • 2
  • 27
  • 39
3
votes
1 answer

How can I get a user's id given their username from the Stack Exchange API?

I want to fetch a user's activity on Stack Overflow, using the /users/{ids}/timeline method. The problem is that this method only accepts a user id, yet I want to pass a username, so anybody could just write their nickname and get the relevant…
vsync
  • 118,978
  • 58
  • 307
  • 400
3
votes
1 answer

Py-StackExchange filter by tag

I'm using Py-StackExchange to get a list of recent questions from Stack Overflow. I know there is a way to get just a constant list of questions: import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) for question in…
samrap
  • 5,595
  • 5
  • 31
  • 56
3
votes
2 answers

How to add body parameter in Serel gem (stackoverflow api)

Actually when i try to access a question using serel gem(which is a ruby wrapper for stackoverflow api), i get an object with no body parameter included in it. questions = Serel::Question.find(id) see…
3
votes
2 answers

How do I use the StackExchange API from Matlab?

How do I access data from the StackExchange API using Matlab? The naive sitedata = urlread('http://api.stackoverflow.com/1.1/questions?tagged=matlab') fails since the data is compressed. However, when I write this to file (using…
Jonas
  • 74,690
  • 10
  • 137
  • 177
3
votes
1 answer

How to log into stackoverflow.com through python?

I was thinking is there any way I can log into my stackoverflow.com account through my python code. Is there any stackoverflow-pythonAPI through which I can achieve the above task. I googled before asking here but was not able to find any API nor…
RanRag
  • 48,359
  • 38
  • 114
  • 167
2
votes
2 answers

error while trying to get access token from stackexchange API 2.0 if user not logged in

Here's my problem: I'm trying to get the current users profile url on stackoverflow using the stackexchange 2.0 API. If the user is logged in then everything works fine, the OAuth flow gives me the access token and I can get every info I want. But…
zolipapa
  • 646
  • 6
  • 14
2
votes
1 answer

How do I submit a Stack Exchange API query that returns the same results as the basic Stack Overflow search?

I am currently working on a project with the goal of determining the popularity of various topics on gis.stackexchange. I am using Python to interface with the stack exchange API. My issue is I am having trouble configuring the API query to match…
Jay Rad
  • 23
  • 4