pyGoogle是Pytho对GoogleAPI的封装。
示例代码:
>>>importgoogle>>>google.setLicese('...')#mustgetyourowkey!>>>data=google.doGoogleSearch('pytho')>>>data.meta.searchTime0.043221000000000002>>>data.results[0].URL'https://www.pytho.org/'>>>data.results[0].title'PythoLaguageWebsite'









评论