Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I am not finding a way to return a list of new questions by tag with the new stack exchange api.

Am I missing something or is this not available? If this is not available, I most certainly request this feature.

Thanks.

share|improve this question
    
Do you want something like "the most recent 10 questions with a certain tag?" –  Nathan Osman Feb 12 '12 at 4:20
    
Yes, I want precisely that. –  swaggler Feb 12 '12 at 7:25

1 Answer 1

up vote 4 down vote accepted

There are 2 ways to get the 10 most recent questions of a tag, either on the /questions method or /search method.

The parameters on both routes are the same, just set tagged to your tag (eg iphone), and sort to creation, and order to desc

So that's either:

https://api.stackexchange.com/2.0/questions?order=desc&sort=creation&tagged=iphone&site=stackoverflow

or

https://api.stackexchange.com/2.0/search?order=desc&sort=creation&tagged=iphone&site=stackoverflow

The difference between the two is that if you search with multiple tags (seperated by semi-colons), eg (c#;iphone):
The /questions method will return questions which have both the c# and iphone tags.
Whereas the /search method will return questions tagged either c# or iphone (or both).

share|improve this answer

You must log in to answer this question.

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