Python的Google API封装 pyGoogle
- 授权协议: Python
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: http://pygoogle.sourceforge.net/
- 软件文档: http://pygoogle.sourceforge.net/dist/doc/index.html
软件介绍
pyGoogle 是 Python 对 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'
