+"use strict"
+
 filter = require './filter'
 search = require './search'
 


parse = (words, oauth, options) ->
  if not words or words.length < 1
    throw "Set words for search"

  unless (oauth and oauth.consumer_key and oauth.consumer_secret and oauth.token and oauth.token_secret)
    throw oauthError

  result = JSON.parse JSON.stringify defaults



  result

module.exports = (words, oauth = {}, options = {}) ->
  options = parse words, oauth, options

  filter: filter options
