public function createSavedSearch($query)
	{
		// Set the API path
		$path = '/saved_searches/create.json';

		// Set POST request data
		$data['query'] = rawurlencode($query);

		// Send the request.
		return $this->sendRequest($path, 'POST', $data);
	}
public function createSavedSearch($query)
	{
		// Set the API path
		$path = '/saved_searches/create.json';

		// Set POST request data
		$data['query'] = rawurlencode($query);

		// Send the request.
		return $this->sendRequest($path, 'POST', $data);
	}
public function createSavedSearch ( $ query ) { // Set the API path $ path = '/saved_searches/create.json' ; // Set POST request data $ data [ 'query' ] = rawurlencode ( $ query ) ; // Send the request. return $ this -> sendRequest ( $ path , 'POST' , $ data ) ; }
Method to create a new saved search for the authenticated user.

@param   string  $query  The query of the search the user would like to save.

@return  array  The decoded JSON response

@since   1.0
Method to create a new saved search for the authenticated user .