Use this skill to create Google Shopping keyword collection tasks through Dataify's builder endpoint.
google_shopping_by-keywords spider when the user wants to collect product information by keyword.python; use python3 if that is the available Python command. Require Python 3 or newer. Do not use version-specific Python launcher commands.spider_parameters objects for the same spider ID. If the user already supplied multiple keywords or multiple parameter objects, treat that as a multiple-set request.Parameter, Current value, Default value, Required, Description.Label, Value. This tool currently has no confirmed dropdown fields.DATAIFY_API_TOKEN from the environment.Missing Dataify API token. Provide a token, or log in/register at Dataify If you already have one, open Dataify and copy the API TOKEN from the top-right area.DATAIFY_API_TOKEN is not already saved locally, ask whether to save it as DATAIFY_API_TOKEN. Save it only after explicit consent and never echo the token back.task_id, taskId, taskIdList, tasks_id, TasksID, id, status, data.task_id, data.id, or data.status. Then remind the user to view task details in the official dashboard: DataifyUse the preview helper whenever possible:
python scripts/preview_params.py --keyword iphone
For multiple parameter sets, pass the exact JSON array:
python scripts/preview_params.py --parameters-json '[{"keyword":"iphone"},{"keyword":"ipad"}]'
Use the call helper after confirmation and token handling:
python scripts/google_shopping_keywords.py --keyword iphone
python scripts/google_shopping_keywords.py --parameters-json '[{"keyword":"iphone"},{"keyword":"ipad"}]'
If the token was provided in the conversation instead of the environment, pass it with --token and do not expose it in user-facing output:
python scripts/google_shopping_keywords.py --token "USER_TOKEN" --keyword iphone
| Mode | Spider ID | Required parameters | Default spider_parameters |
|---|---|---|---|
| --- | --- | --- | --- |
keyword | google_shopping_by-keywords | keyword | [{"keyword":"iphone"}] |
Every request also accepts file_name. If omitted, use {{TasksID}}.
The user mentioned a Google country parameter, but the provided API mapping does not include a confirmed request field or default value for it. Do not include a country field in spider_parameters unless the user provides the exact API field name supported by Dataify for this spider.
Always submit to https://scraperapi.dataify.com/builder?platform=1 with:
| Field | Value |
|---|---|
| --- | --- |
spider_name | google.com |
spider_id | google_shopping_by-keywords |
spider_parameters | JSON array of one or more parameter objects |
spider_errors | true |
file_name | User value, otherwise {{TasksID}} |
Send parameters as form data. Keep spider_parameters as a JSON string inside the form body.
共 2 个版本