def __init__(self, api_key, endpoint, domain, start_month, end_month,<EOL>main_domain_only=False, results_page=None):
if endpoint not in ["<STR_LIT>", "<STR_LIT>", ]:<EOL><INDENT>raise InvalidEndpointException("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>self.domain = utils.domain_from_url(domain)<EOL>self.endpoint = endpoint<EOL>self.start_month = start_month<EOL>self.end_month = end_month<EOL>self.main_domain_only = main_domain_only<EOL>self.results_page = results_page<EOL>super(SearchKeywordsAPI, self).__init__(api_key)<EOL>
Parameters
----------
api_key: string
    SimilarWeb API key

endpoint: string
    Endpoint to use. Can be: orgsearch, paidsearch

domain: string
    Domain to query.

start_month: string
    Start Month in (M-YYYY) format

end_month: string
    End Month in (M-YYYY) format

main_domain_only: boolean
    Get metrics on the Main Domain only (i.e. not including subdomains)

results_page: integer
    Enter for more than 10 results