A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

-1
votes
0answers
21 views

What is stack app post [duplicate]

When I try to upvote or downvote or add an answer using the Stack Exchange API, I get: { "error_id": 403, "error_message": "Applications must have a registered Stack Apps post to write", ...
2
votes
1answer
31 views

Why do you need to specify a site when getting the inbox?

I'm getting a user's inbox via /me/inbox. I am forced to specify a site with this, so I'm setting it to Stack Overflow. However, it still gets all my notifications, including those from other sites. ...
0
votes
1answer
18 views

How to get question body (markdown) in the API response using filters?

Using withbody filter as suggested in this thread (How to get Question/Answer body in the API response using filters?) returns body as HTML. How do I get the original markdown?
1
vote
0answers
22 views

How to get more details flags from questions?

Short question: How to get the flags that led up to a question being closed? When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see The ...
0
votes
0answers
14 views

Getting all the answers for a question in Py-StackExchange

How do I get all the answers for a question in Py-StackExchange? m=s.user(id) for i in range(0,len(m.questions.fetch()): print m.questions.fetch()[i].answers #returns [] even if answer ...
2
votes
1answer
49 views

Unable to decode HTML entities in the API response?

I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working. I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
3
votes
1answer
59 views

How can I get a user's Meta site details in the API call?

This query returns the details of the Main sites only:         /associated-users#ids=2855348 How can I get the Meta site details also in the same query? Do I need to add any ...
3
votes
1answer
27 views

Can I change my profile picture using the API version 2?

I was considering making an app that lets the user design a profile picture and then activate it on the user's Stack Exchange account. Could a feature to change the profile picture be added to the ...
3
votes
1answer
28 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
1
vote
1answer
19 views

Get users based on location?

I want to get site users by their location but I don't see any method for that. And it's not possible with filter too. Is there any way to get users based on location or is it not possible?
1
vote
0answers
15 views

Where can I found all the type objects in the Stack Exchange API? [duplicate]

Where can I found all the type objects in the Stack Exchange API? In the docs, I can't find any section that lists all of them. I am trying to make a Wrapper Class in C#, so I need a complete list of ...
5
votes
0answers
35 views

Use HTTPS urls for site logos returned by the API

Currently, the API returns resources like this: "high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/apple-touch-icon@2.png", "favicon_url": ...
0
votes
0answers
35 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
1
vote
1answer
44 views

I want a python program example for more requests a day

How can I make about 10k requests on https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow using python program in a day. Where J is variable ...
3
votes
1answer
37 views

Can I get information about a user with their network ID?

My network profile's ID is 4337810. Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...? There doesn't seem ...
2
votes
1answer
29 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
2
votes
1answer
46 views

Getting the top answerers/users for a tag in a custom time range?

I'm trying to use the top answers on tags API to get the users who contribute the most for a given tag. Like so:           ...
3
votes
1answer
35 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
1
vote
0answers
19 views

Not getting a JSON response on authenticated API call? [duplicate]

through stackoverflow api , i trying to get user basic info like reputation etc. I am successfully getting access token but when i trying to get user info though ...
0
votes
1answer
44 views

How to get all questions with a specific tag between certain dates

I would like to get all questions created and tagged with tag "R" between 2 dates. I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
2
votes
1answer
25 views

Top answers for a tag is returning user details?

I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow
2
votes
1answer
35 views

How to get the 10 most recent questions with accepted answers based on a given tag?

I am trying to figure out how to get the 10 most recent questions from the Stack Overflow site, that have been answered, based on a given tag (such as 'Java'). I looked at the documentation but I ...
2
votes
1answer
41 views

How to monitor (for new) accepted answers by certain tags?

In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
2
votes
1answer
46 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
3
votes
1answer
54 views

Get total answers count for a specified: Tag, Userid and Date-range?

I would like to get the total number of answers provided by userid 1068142 between 01/07/2015-31/07/2015 with tag = paypal. I have looked into this question but it does not help! I have been trying ...
5
votes
0answers
40 views

Please provide a way to download SEDE data via an API

Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that. It has also been suggested that it would ...
4
votes
0answers
20 views

Please provide a way to get Post Edits, filtered by user

I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
3
votes
1answer
35 views

Can revisions be returned from the API, filtered by user?

I see that question or answer revisions can be returned from the API either by post ID or by GUID. I'd like to obtain this data filtered by user, e.g. "all revisions made by user X". However, I ...
4
votes
1answer
46 views

How to include answers when fetching questions?

I made a small cron job which crawls questions and answers from Stack Overflow. Here is my request URL: ...
6
votes
1answer
138 views

Unable to get access token

I am trying to get a non-expiry access token, like so: https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}} I am repeatedly getting the error: ...
2
votes
1answer
73 views

Questions with specific tag and specific text inside questions

So I am able to get questions with specific tags, but still not able to get questions which have specific text and a specific tag. For example if I want to get all the questions with text "api" in ...
1
vote
0answers
22 views

List recent tag wiki edits

I would like to list tags where the tag wiki or tag wiki excerpt was recently edited or created. How can I do this? It is not a problem if I get a few false positives by tags modified in other ways, ...
0
votes
1answer
49 views

Specific Response attributes [duplicate]

I want to get questions related to a specific tag with the body of those questions. I have figure out this API request: ...
2
votes
1answer
85 views

Encoding problem while accessing the API using Java

Trying to call an API URL from a Java application, I'm having problems accessing the contents of the URL. I can access other sites through my program but not the Stack Exchange site. But I can call ...
2
votes
1answer
80 views

How to delete apps in StackApps?

I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
3
votes
1answer
47 views

Some blank properties missing

I am using /me/associated. I haven't posted any question in one account, so the response comes as: "top_questions": [], "top_answers": [], "question_count": 0, "answer_count": 0, in the same ...
2
votes
1answer
32 views

Where is “items” & “badge_counts” documentation?

Where is the items & badge_counts documentation? This is returned as JSON. I am using the /me/associated query function.
2
votes
0answers
70 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
3
votes
0answers
38 views

How to get unread reputation changes via the API?

I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that. ...
3
votes
1answer
52 views

Getting historical data for careers?

I'm wondering if there is a possible way to get historical data regarding job postings made through careers, even for postings that have already been filled. Does careers keep this data at all, and if ...
2
votes
1answer
57 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
5
votes
0answers
33 views

Access to my Upvoted Questions

I would like to see just my upvoted questions (Don't care about other users as such). There are some related posts: List of Votes by Authenticated users Can I see my past upvoted questions in ...
1
vote
0answers
64 views

A step by step approach for posting questions and answers?

I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API. Could someone help me with this?
1
vote
1answer
49 views

I Cannot Perform Oauth

My Clientn id = 4784 and Key = cB0l6XiaOW5l5vsBnBeIUg((. What do I do for Oauth and to get an access token?
3
votes
1answer
94 views

Can not request info after OAuth

I am following The implicit OAuth 2.0 flow Guide: My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA(( I appended my URL as: ...
3
votes
1answer
63 views

Add the 'people reached' count to the API?

Can we have the people reached statistic added to the /users/{ids} method? The response could simply be: "people_reached": 1000 I'm asking because it would be cool to get a network-wide number.
1
vote
0answers
29 views

How to get all posts that a user voted on? [duplicate]

I know how to get all questions that I favorited using /docs/me-favorites. But, how can I get all answers (or questions) that I voted on? Like those in the upvote history.
1
vote
0answers
18 views

Using Stack overflow [duplicate]

Can we use Stack Overflow API 2.2 (or any other latest version) to extract the information (Threads, Answers, users etc), as mentioned in the documentation in https://api.stackexchange.com/docs. We ...
1
vote
0answers
18 views

How to install the Stack Exchange API 2.2? [duplicate]

I am sorry, this may seem obvious but I really can't find any installation guide/link anywhere. I need the Objective-C API.
2
votes
1answer
29 views

How to get up_vote_count and down_vote_count for a user?

I'm testing the following command: $ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool However it doesn't return up_vote_count and ...