3

I'm creating a simple notification application to inform me about latest questions with defined tags. For example, my tags are python and django.
I want to see the latest asked question with those. Which API URL should I use?

1 Answer 1

1

You should use /questions, it provides an option to filter on tags. You'll also need to set the sort parameter to creation instead of the default, activity.

This will be the URL you're looking for: https://api.stackexchange.com/2.2/questions?order=desc&sort=creation&tagged=python&site=stackoverflow

You can test it here, the first question it gave me was this one which was posted just a minute before.

3
  • Thanks @Arulkumar. It's strange that api.stackexchange.com isn't automatically redirected to HTTPS. Commented Aug 2, 2017 at 14:18
  • Yes, like area51.stackexchange.com Commented Aug 2, 2017 at 14:19
  • 1
    @Arulkumar I've posted a question (read: answer) on Meta SE about that. Commented Aug 2, 2017 at 14:33

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.