Questions tagged [stackexchange-api]

Question related to StackExchange API usage

Homepage

275 questions
2
votes
1 answer

Using API to load more than one question ids per call

Using a dataframe with question ids from SO: df <- data.frame (qid = c(71663375, 71674701, 71724524)) Using the folliwng code it is possible to make 3 api calls to receive info for every question. However SO app provides the chance to run into 1…
Domin D
  • 41
  • 4
2
votes
1 answer

How to get 'user' data with stackoverflow api?

I want to see the 'user(specifically, user's display_name') data using Stackoverflow's API. I'm using and reading the docs about StackExchange API, and still didn't get the idea about 'fetch' and anything about get the data. Using 'beautifulsoup' or…
2
votes
1 answer

How can I get "top x% this y" from a user profile page using the StackExchange API?

Using the StackExchange API, it's possible to find out quite a bit about a user: { "badge_counts": { "bronze": 3, "silver": 2, "gold": 1 }, "view_count": 1000, "down_vote_count": 50, "up_vote_count": 90, "answer_count": 10, …
Nico Schlömer
  • 53,797
  • 27
  • 201
  • 249
2
votes
0 answers

How can I obtain a user's top tags with one call from the Stack Exchange API?

I was trying to fetch some Stack Overflow users using the following procedure: Fetch the users with https://api.stackexchange.com/docs/users-by-ids. For each user id, fetch the top tags with…
Carrol
  • 1,225
  • 1
  • 16
  • 29
2
votes
1 answer

Stack Overflow API for popular tags using date filter - results not making sense

I'm trying to pull the most popular tags between a set of dates. However, the results aren't making sense. I can't figure out what the date filter does in the context of tags. Is this based on the creation of the tag itself, because the overall most…
prodigeek
  • 21
  • 1
2
votes
1 answer

How can I find the number of views all MATLAB questions have received?

I want to calculate the total number of question views that a tag on Stack Overflow has. Let's say the tag is MATLAB. At present there are 88k questions asked on Stack Overflow with tagged matlab. Now each of these questions has some views. Is there…
SJDT
  • 23
  • 4
2
votes
1 answer

Stack Exchange API with curl command

By following this Stack Exchange API documentation, I have registered my application on Stack Apps (here). After registering I got my request key and access_tokens created via authentication. I need to run the Stack Exchange API via curl command,…
ESCoder
  • 15,431
  • 2
  • 19
  • 42
2
votes
1 answer

Most efficient way to query stack overflow database for a question and its answers

So I'm trying to query the stack overflow database for a question and its answers. So far I have come across two ways to do this: SELECT questions.Id as [Post Link], questions.title, answers.body, questions.viewcount FROM Posts answers INNER JOIN…
j.doe
  • 305
  • 3
  • 16
2
votes
0 answers

Building concept map for a programming language using wikipedia and/or stackexchange queries

I've been fiddling around with wiki api and stack exchange queries and thought it would be interesting to create a hierarchy map or a weighted concept (undirected) map for a programming language. Thought it would create a useful generic graph layer…
2
votes
1 answer

How to get all results by iterating through has_more

I am using stackexchange api to get comments from 2000 to 2019 August. It looks like I only iterate through 2 pages. I am not sure whether my mistake is in the api parameters or in the iteration process. This is my code looks like. import…
akalanka
  • 553
  • 7
  • 21
2
votes
1 answer

How to get all pages included in different years with the Stack Exchange API?

I would like to get all the questions and comments with a particular tag contained on the Stack Overflow site. With the use of the API, I managed to make a simple call but I would like to know how I could scroll through the pages to get all the data…
HABLOH
  • 460
  • 2
  • 12
2
votes
1 answer

Trouble authorizing using OAuth with StackExchange API and Apps Script

I'm trying to access StackExchange API, using OAuth in Google Apps Script. I'm using this library. When I call the below, I don't have access at first (which is expected). The authorization URL I log…
2
votes
1 answer

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 some substring matched in "title" or in…
ThinkGeek
  • 4,749
  • 13
  • 44
  • 91
2
votes
0 answers

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 then just ignore the comments where score < x when…
Niellles
  • 868
  • 10
  • 27
2
votes
1 answer

How to get badges for a user with Stacky?

I'm using the Stacky API version 1.1. Such an awesome API but I'm not sure how to get a users badges. There is a method GetTagsByUser but not associated GetBadgesByUser. Is there something I'm missing or is it just not a part of the API yet?
Ryan Tomlinson
  • 874
  • 2
  • 9
  • 21