معرفی شرکت ها


cse.py-1.1.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

An asynchronous Google Search Engine API wrapper
ویژگی مقدار
سیستم عامل -
نام فایل cse.py-1.1.3
نام cse.py
نسخه کتابخانه 1.1.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Hype3808
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/Hype3808/cse.py
آدرس اینترنتی https://pypi.org/project/cse.py/
مجوز MIT
# cse.py Asyncio API wrapper for the [Google Custom Search JSON API](https://developers.google.com/custom-search/v1/overview). # Installation #### PIP `pip install -U cse.py` #### GIT `pip3 install -U git+https://github.com/Hype3808/cse.py` # Usage ```python import cse client = cse.Engine("Your API Key") # create the Search client (uses Google by default!) results = await client.search("Python", safesearch=False) # returns a list of cse.Result objects print(results[0].title, results[0].description, results[0].url, results[0].image_url) # Title, snippet, URL, and Image URL await client.close() # Run this when cleaning up. ``` # Getting image results ```python import cse client = cse.Engine("Your API Key") # create the Search client (uses Google by default!) results = await client.search("Python", safesearch=False, image_search=True) # returns a list of cse.Result objects print(results[0].title, results[0].description, results[0].url, results[0].image_url) # Title, snippet, URL, and Image URL await client.close() # Run this when cleaning up. ``` To use Search objects with a custom search engine, provide the ID of the search engine. ```python cse.Engine("Your API Key", engine_id="015786823554162166929:mywctwj8es4") ``` SafeSearch can also be turned off by setting `safesearch=False` when using the `search()` method. # Getting an API key You can get an API key by going [here](https://developers.google.com/custom-search/v1/overview#api_key) and scrolling down to the **API key** section. <a href=https://developers.google.com/custom-search/v1/overview#api_key target=_blank>![Get API key](https://i.imgur.com/pHXFiI8.png)</a> # Links - [Documention](https://hype3808.github.io/cse.py/) - [PyPI](https://pypi.org/project/cse.py/)


نیازمندی

مقدار نام
- aiohttp


نحوه نصب


نصب پکیج whl cse.py-1.1.3:

    pip install cse.py-1.1.3.whl


نصب پکیج tar.gz cse.py-1.1.3:

    pip install cse.py-1.1.3.tar.gz