Building Search Queries for Twitter's REST API 1.1

I recently need to get a JSON object from Twitter's API that had a couple of requirements. I needed the most recent tweets that contained a specific hashtag OR were from a specific user AND didn't contain any retweets. Starting with the base API URL for search https://api.twitter.com/1.1/search/tweets.json Then appending each piece of the search as required https://api.twitter.com/1.1/search/tweets.json?q=from:example https://api.twitter.com/1.1/search/tweets.json?q=from:example OR #example https://api.twitter.com/1.1/search/tweets.json?q=from:example OR #example + exclude:retweets Then a...