1

How can I get questions with x, y, z tags having at least three upvotes and with an accepted answer?

Also, I would like to only retrieve the question title, only the accepted answer, tags on questions and authors of the question and answers using Stack Exchange API.

2
  • 1
    Something like this? You can't shape the results from the API as easy as you could with a sql statement. Do post processing in your favorite tool stack.
    – rene Mod
    Commented Feb 23, 2020 at 20:12
  • @rene I am able to use those api end points, check my answer, I was wondering for something like that but not restricted to a particular account. Thank you for your effort on putting a comment on my question. Commented Feb 26, 2020 at 7:33

1 Answer 1

1

This is not a complete answer or acceptable for this question, but still it should give a better idea.

I think it is only possible if you have the data. It comes under private data.

The steps will be

  1. Register an application

  2. Get a code, using private_info scope

  3. Get an accessToken

  4. Create a filter

  5. The request URL will be something like

     https://api.stackexchange.com/2.2/questions?page=1&pagesize=1&fromdate=1579564800&todate=1582243200&order=desc&min=1579564800&max=1582243200&sort=activity&tagged=[stretching]or[flexibility]or[warm-up]or[martial-arts]or[flexibility]&site=fitness&filter=filterToken&access_token=accessToken&key=key
    

It can not be used to get others' questions and answers.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .