pyGooglePython的Google API封裝
pyGoogle 是 Python 對(duì) Google API 的封裝。
示例代碼:
>>> import google
>>> google.setLicense('...') # must get your own key!
>>> data = google.doGoogleSearch('python')
>>> data.meta.searchTime
0.043221000000000002
>>> data.results[0].URL
'http://www.python.org/'
>>> data.results[0].title
'Python Language Website'評(píng)論
圖片
表情
