🧪 Skills
Aliyun Search 1.0.0
Perform web searches using Alibaba Cloud UnifiedSearch API. Provides advanced search capabilities with configurable parameters.
v1.0.0
Description
name: aliyun-search description: Perform web searches using Alibaba Cloud UnifiedSearch API. Provides advanced search capabilities with configurable parameters.
Alibaba Cloud UnifiedSearch Skill
This skill provides the ability to perform web searches using Alibaba Cloud UnifiedSearch API.
Features
- Support multiple search engine types (Generic, GenericAdvanced, LiteAdvanced)
- Configurable time range filtering
- Category-specific search (finance, law, medical, etc.)
- Location-based search (city/IP)
- Rich result formatting
Usage
Basic Usage
python search.py "云栖大会"
Advanced Usage
python search.py "北京天气" --engine-type "Generic" --city "北京市"
python search.py "金融新闻" --category "finance" --time-range "OneWeek" --engine-type "GenericAdvanced"
Scripts
search.py: Python implementation of Alibaba Cloud UnifiedSearch API
Configuration
Before using, you need to:
- Obtain Alibaba Cloud AccessKey and Secret
- Set environment variables:
export ALIBABA_CLOUD_ACCESS_KEY_ID="your_access_key_id" export ALIBABA_CLOUD_ACCESS_KEY_SECRET="your_access_key_secret" - Ensure the required permissions are granted
- Install dependencies:
pip install aliyun-python-sdk-core requests
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!