288 questions
5
votes
2
answers
3k
views
How to get the body of an answer using the Stack Exchange API?
I am using StackAPI to get the most voted questions and the most voted answers to those questions:-
from stackapi import StackAPI
SITE = StackAPI('stackoverflow')
SITE.max_pages=1
SITE.page_size=10
...
2
votes
1
answer
497
views
Advance filtering in Stackexchange Python API
Does Stackexchange Python API provide advance filtering support?
For example:
Return all the questions under tag python and javascript with more than 50 upvotes.
Return all the questions that has ...
0
votes
1
answer
276
views
How can I fetch the total amount of items?
I'd like to call for a stack exchange query to get the number of questions that were asked in a certain time range about a certain tag.
How can I do it? according to api's documentation it said that:
...
1
vote
1
answer
80
views
How to reduce query time for stackexchange api?
I try to collect for a list of users the questions.
So I prepared this command lines:
library(stackr)
dft <- data.frame()
for (j in 1:nrow(df)) {
questions <- stack_users(df$userid[j], "...
2
votes
0
answers
147
views
Order StackExchange API reponse by date and specify minimum # votes
Is there a way that I can specify a minimum score when requesting comments from the StackExchange API while still ordering by the creation date? I'm currently requesting comments ordered by date and ...
0
votes
0
answers
286
views
Using httr in R to establish an implicit Oauth2 flow with StackOverflow.com
I am trying to establish an "implicit" Oauth2 authorization flow for my test connect in R to StackOverflow via the StackExchange API.
I am in situation #3 of this related post, that specifies how to ...
3
votes
2
answers
592
views
StackExchange API: Could not parse client_id
I'm trying to connect to the StackExchange API in R.
When I try:
library(httr)
end <- oauth_endpoint(authorize = "https://stackoverflow.com/oauth",
access = "https://...
1
vote
0
answers
305
views
How to get Country from value of the key Location?
I am trying to add a new key called Country. My main problem is to convert the location into Country. The Users from Stackoverflow can write everything and it has no format. I have tried geopy but it ...
1
vote
1
answer
101
views
How to get the Timestamp of awarded time for badges?
Which is the way to take the time of a badge awarded to a user?
I tried the notification as it is recommended here but I get:
method not available
3
votes
2
answers
235
views
Date parameters do not seem to work for the Stack Exchange API's tags endpoint
If I request tag info without specifying fromdate/todate parameters, I get back some data. EG:
{
"has_synonyms": true,
"is_moderator_only": false,
"is_required": false,
"count": ...
1
vote
1
answer
97
views
How to get all questions related to a tag, using the stackr library?
I would like to retrieve all question asked for a specific tag. Specifically for every question: all tags, date posted, body, user who posted the question, and votes.
I tried this:
library(stackr)
...
0
votes
1
answer
193
views
Pass an array of tag parameters to the Stack Exchange API?
I want to retrieve top tagged questions per day using the Stack Exchange API.
This API call works for "oracle":
https://api.stackexchange.com/2.2/tags?inname=oracle&site=...
-2
votes
1
answer
84
views
How to retrieve access_token from client-side OAuth 2.0 stack exchange api flow using Python?
I am working on my project for StackOverflow, using the API with Python. However, I need to get the [access_token] from the URL as is described in https://api.stackexchange.com/docs/authentication.
0
votes
2
answers
184
views
Get the date/time a badge was awarded?
Using this, it is possible to take the badges from a specific user of Stack Overflow:
library(stackr)
badges <- stack_users(9371451, "badges", num_pages=100000, pagesize=100)
How can I add a ...
0
votes
0
answers
125
views
How to get the user ranking data of Stack Exchange using the API?
I want to get the user ranking data on the "Users" page of Stack Exchange (see the following figure), but do not find relevant APIs implementing such goals.
enter image description here
1
vote
1
answer
80
views
OAuth for a Stack Exchange API library?
I use the stackr library for the Stack Exchange API.
I have registered my API and have the credentials.
In the documentation it refers that it is possible to use a general auth.
What kind of ...
1
vote
2
answers
103
views
How to get questions' text using the stackr library for the API?
Using stackr it is possible, with the following command, to list the questions from a specific user.
library(devtools)
devtools::install_github("dgrtwo/stackr")
library(stackr)
textques <- ...
3
votes
1
answer
88
views
How to get badge info using the stackr library for the API?
I would like to use the Stack Exchange API with a specific user id to get the text of a user's badges.
I found the stackr library for the Stack Exchange API, and tried this:
# install.packages("...
0
votes
1
answer
193
views
stackexcange api get answer and comments and related qus. in single request?
stackexcange api get question answer and comments and related questions in single request ?
How to get Question Answers and Comments and Related questions in single query Possible ?
document : https:...
1
vote
1
answer
1k
views
Stack Exchange API - getting answers for the questions object
I use https://api.stackexchange.com/docs. To get a sample question, I use the address https://api.stackexchange.com/2.2/questions/6827752?&site=stackoverflow. Thanks to this, he gains a question. ...
0
votes
1
answer
325
views
Stack Exchange API
After get the answer with API, we get an object without a body.
{
"items": [
{
"owner": {
"reputation": 31,
"user_id": 7256724,
"user_type": "registered",
"...
0
votes
1
answer
197
views
How to ask StackExchange for more results exceeding 30? [duplicate]
I'm using the Usage of /questions URI request to fetch a list of questions from stackoverflow.
https://api.stackexchange.com/2.2/questions?&order=desc&sort=activity&site=stackoverflow
...
1
vote
1
answer
752
views
Node.js Request GET returning raw data instead of JSON [duplicate]
I have a particularly interesting issue, So I am trying to use Stackoverflow Search/Advanced API to query stackoverflow to get questions. I have tried it using PostMan and its returning JSON but in my ...
0
votes
1
answer
669
views
run query on stackexchange data using python
I am attempting to get a list to TOP n tags and its usage so far using python.
I can run this query on stackexchange site as below,
SELECT *
FROM Tags
WHERE ExcerptPostId is not NULL
order by Count
...
2
votes
2
answers
2k
views
Stackexchange API: fetch answers to a specific stack post
I am using the stackAPI Python wrapper to interface with the stackexchange api. I am trying to fetch the top most popular questions above a vote count threshold; and for each of those questions the ...
1
vote
4
answers
1k
views
"Unexpected character exception" when making GET request to StackExchange API using Flurl
I have created a console application in which I'm making a simple GET request to the Stack Exchange API to fetch some comments. I'm using Flurl. This method is called from Main
private static async ...
4
votes
2
answers
272
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 ...
3
votes
0
answers
537
views
AppAuth, Redirect URI, Stackexchange, Instagram API
I want to make OAuth2 authorization.
I use : implementation "net.openid:appauth:0.7.0"
I have studied many examples (Google Codelabs, AppAuth etc).
I also studied RFC 8252.
I wanted to apply ...
3
votes
1
answer
278
views
How do I retrieve the actual date from the StackOverflow API *creation_date* field?
How do I retrieve the actual date from the StackOverflow API creation_date field?
The date depicted via their API is an integer:
"creation_date": 1288523078
However, I would like to convert the ...
2
votes
1
answer
1k
views
How do I resolve a JSON response of special characters?
How do I resolve a JSON response of special characters?
When I use the Postman tool with this URL, I receive valid and expected JSON.
However, when I make a HTTP request with this url within .Net, I ...
2
votes
1
answer
39
views
SE Data Explorer table for link visits
I would like to use the API or SEDE to discover which of my shared links (created by the "share" button as appears below each question/answer) have been visited by the most unique IP ...
-3
votes
1
answer
48
views
How to list SO users who answer often and adequately
It has been 2 years since I started Python programming, and as with novice programmers I am often stuck with unanswered questions- frustrating exceptions in my projects, and I have not been able to ...
7
votes
1
answer
10k
views
NodeJs: Getting paginated get requests
When requesting Q&As from stackexchange API, the JSON response has a has_more (Boolean) argument and when it is true that means there are more requests possible with
http://api.stackexchange.com/...
1
vote
2
answers
232
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��...
0
votes
1
answer
156
views
Calling StackAPI endpoints
Hi I am writing a small task to learn ,querying stackoverflow api
I want to achieve below
● Number of questions asked on that date
● Total number of views across all questions
● Distinct (i.e. ...
-1
votes
1
answer
75
views
How to retrieve number of tags at a certain time in the past
I can see here how to get number of tags through StackExchange API. Is it possible to get number of tags at a certain time in the past?
How can I run https://api.stackexchange.com/2.2/tags?order=desc&...
-1
votes
1
answer
492
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
143
views
Error retrieving multiple ids using the Stack Exchange API
Working with the Stack Exchange 2.2 API, I have run into a roadblock when using post_ids to retrieve data. My results are incomplete.
According the online documents for the posts/{ids} interface,
I ...
3
votes
1
answer
173
views
What does "!)V)MSZJUgX_" mean in Stack API filter?
I was looking into Stack API doc and found the following API call.
https://api.stackexchange.com/docs/comments#order=desc&min=1&sort=votes&filter=!)V)MSZJUgX_&site=stackoverflow&...
0
votes
0
answers
165
views
StackExchange API returning 400 with Node.js
One of my working code with node.js implementation of api.stackexchange.com has started returning 400 response code.
Can someone suggest what may be wrong ? Adding code sample and response object ...
0
votes
1
answer
530
views
Python unicodeDecodeError on parsing a JSON url
I am using python 3.4 and trying to parse what seems like valid JSON output from a url. ex:
http://api.stackexchange.com/2.2/questions?order=desc&sort=activity&site=stackoverflow
This is ...
0
votes
1
answer
465
views
Getting All Questions from Stack Exchange API that are Accepted
I am a bit new with stack exchange API. I want to query all questions that have been asked that has an accepted answer. I know the /questions query returns an "is_accepted" key for each question but I ...
1
vote
1
answer
245
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 ...
1
vote
1
answer
112
views
Get the creation date of a tag from the Stack Exchange API
I am querying the SE API, on site Stack Overflow, to get data on the tags used on the site.
The endpoint for tags furnishes said tags without the creation date, so that in fact the typical response ...
2
votes
0
answers
57
views
How can I not authenticate everytime in StackExchange API calls using JS client?
I am using this code from the StackExchange App Documentation to get the user information from StackOverflow.
// For simplicity, we're using jQuery for some things
// However, the library has no ...
0
votes
1
answer
70
views
How to start buidling and app using stackexchange API as it does not support localhost?
How can I use Stackexchange API when it does not support localhost or any dev URL with port number?
It is very difficult to push code to Heroku as it was suggested in one answer on StackOverflow ...
0
votes
1
answer
114
views
How to use the request key while making http request to stackexchange api Angularjs
I have a request key but i do not know how to use it while making an http request. can someone give me an example. here is my code for the moment :
function getQuestionLinks(tag) {
return $q(...
1
vote
1
answer
54
views
HTTP GET request to StackExchange API doesn't return in AngularJS app
I made a GET request to get a user by ID, but it doesn't seem to work (nothing happens at all). I am using my user ID so I know the user exists. I get no error message.
Here is my AngularJS code :
...
2
votes
2
answers
2k
views
Stack Overflow query to select questions with 3 or more answers
When using the stack overflow data explorer, how can I select questions with 3 or more answers?
3
votes
1
answer
309
views
How to get data from stack exchange site
I need to get data from specific stack exchange site.
How can I do this most efficiently? Can I use some kind of API? I need to save them into some kind of database.