custom-google-search-1.0.0
توضیحات
Performs custom google search programmatically
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | custom-google-search-1.0.0 |
| نام | custom-google-search |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | joeyism |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/joeyism/py-custom-google-search |
| آدرس اینترنتی | https://pypi.org/project/custom-google-search/ |
| مجوز | - |
# py-custom-google-search
This library is to ease with the usage of custom Google Search API. This means that you can use this library to programatically perform Google searches with the API, without the need for scraping (which means that it is much lighter).
## Installation
To install, run
```
pip install custom-google-search
```
## Usage
### Getting CX Number and API Key
Follow [this tutorial](https://joeyism.medium.com/custom-google-search-api-fbbafe4711eb) on how to get your CX Number and API Key
### Programmatically
```python
from custom_google_search import search
search("nike logo", key=API_KEY, cx=CX_NUMBER)
```
where `API_KEY` and `CX_NUMBER` are the API Key and CX Number respectively.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
نحوه نصب
نصب پکیج whl custom-google-search-1.0.0:
pip install custom-google-search-1.0.0.whl
نصب پکیج tar.gz custom-google-search-1.0.0:
pip install custom-google-search-1.0.0.tar.gz