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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags?

EG:

  1. All Stack Overflow questions asked in the past 2 months tagged 'ruby'?
  2. All Stack Overflow questions asked in the past 2 months tagged 'ruby' and 'git'?
  3. All Stack Overflow questions asked in the past 2 months tagged 'ruby' or 'git'?
share|improve this question
up vote 1 down vote accepted

For questions tagged with all tags in a list (AND operation), use the /questions path.
For example:

/questions#fromdate=2013-01-11&sort=activity&tagged=ruby;git

~~~~~
For questions tagged with any tags in a list (OR operation), use the /search path.
For example:

/search#fromdate=2013-01-11&sort=activity&tagged=ruby;git

share|improve this answer
    
Is there no way to do this with /questions/featured? – DaImTo Apr 8 '14 at 9:48
    
@DaImTo, Do what exactly? Be specific and open your own question. That path does accept a tag filter. It probably operates in and mode. Use more than one request for or searches. – Brock Adams Apr 8 '14 at 19:49
    
ok thanks I didn't want to open another question when this one was similar. – DaImTo Apr 9 '14 at 7:04

You must log in to answer this question.

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