0.2.6 • Published 9 years ago
stdlib-googlecse v0.2.6
francis/googlecse
Microservice for Google Custom Search Engine (Developer guide)
Arguments
args- None
kwargs---qThe search query--cxThe custom search engine ID--keyGoogle API Key[--num 10]Number of search results to return (1 - 10, inclusive)[--start 1]The index of the first result to return[--sites]Comma separated list of domains to search[--fields ]items(cacheId,displayLink,formattedUrl,htmlFormattedUrl,htmlSnippet,htmlTitle,image,link,pagemap,title),promotions[--gl us]Geolocation of end user. Two character country code
Example - Search specific retailers for a product
f francis/googlecse --q "Cool Mist Humidifier type:product" --cx [cx] --key [key] --sites bedbathandbeyond.com,crane-usa.com