'Search the SHODAN database.
Arguments:
query    -- search query; identical syntax to the website
Returns:
A dictionary with 3 main items: matches, countries and total.
Visit the website for more detailed information.'

def search(self, query):

    return self._request('search', {'q': query})
