Order food from TGO Yemek (Trendyol GO), Turkey's leading food delivery service. Use when user wants to order food delivery in Turkey, browse restaurants, search for foods, manage delivery addresses, check order history, or checkout with 3D Secure payment.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install food402或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install food402⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/food402/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: food402 description: Order food from TGO Yemek (Trendyol GO), Turkey's leading food delivery service. Use when user wants to order food delivery in Turkey, browse restaurants, search for foods, manage delivery addresses, check order history, or checkout with 3D Secure payment. metadata: {"openclaw": {"emoji": "🍕", "requires": {"bins": ["curl", "jq", "openssl"], "env": ["TGO_EMAIL", "TGO_PASSWORD", "GOOGLE_PLACES_API_KEY"]}, "primaryEnv": "TGO_EMAIL"}} ---
Order food from Trendyol GO (TGO Yemek), Turkey's leading food delivery service. This skill enables complete food ordering: browse restaurants, view menus, customize items, manage cart, and checkout with 3D Secure payment.
Add the following to your ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"food402": {
"enabled": true,
"env": {
"TGO_EMAIL": "[email protected]",
"TGO_PASSWORD": "your-tgo-password",
"GOOGLE_PLACES_API_KEY": "your-google-api-key"
}
}
}
}
}
Set environment variables in your shell profile (~/.bashrc, ~/.zshrc, etc.):
export TGO_EMAIL="[email protected]"
export TGO_PASSWORD="your-tgo-password"
export GOOGLE_PLACES_API_KEY="your-google-api-key" # Optional: for Google Reviews
Then reload your shell or run source ~/.zshrc (or equivalent).
The skill automatically handles authentication. When making API calls:
{baseDir}/scripts/auth.sh get-token to get a valid JWT/tmp/food402-token with automatic refresh (60s buffer before expiry){baseDir}/scripts/auth.sh clear-token and retryManual authentication check:
{baseDir}/scripts/auth.sh check-token
IMPORTANT: You MUST follow this order:
If add_to_basket fails, try clear_basket first then retry.
---
Get user's saved delivery addresses. Call this first to show available addresses.
TOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-user-apimemberaddress-santral/addresses" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq
Response fields: id, addressName, addressLine, neighborhoodName, districtName, cityName, latitude, longitude
MUST be called before browsing restaurants or adding to basket. Sets the shipping address for the cart.
Parameters:
addressId (required): Address ID from get_addressesTOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s -X POST "https://api.tgoapis.com/web-checkout-apicheckout-santral/shipping" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" \
-d '{"shippingAddressId": {addressId}, "invoiceAddressId": {addressId}}'
Add a new delivery address. Use get_cities → get_districts → get_neighborhoods to find location IDs first.
Parameters:
name (required): First namesurname (required): Last namephone (required): Phone without country code (e.g., "5356437070")addressName (required): Label (e.g., "Home", "Work")addressLine (required): Street addresscityId (required): From get_citiesdistrictId (required): From get_districtsneighborhoodId (required): From get_neighborhoodslatitude (required): Coordinate stringlongitude (required): Coordinate stringapartmentNumber, floor, doorNumber, addressDescription (optional)elevatorAvailable (optional): booleanTOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s -X POST "https://api.tgoapis.com/web-user-apimemberaddress-santral/addresses" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" \
-d '{
"name": "{name}",
"surname": "{surname}",
"phone": "{phone}",
"addressName": "{addressName}",
"addressLine": "{addressLine}",
"cityId": {cityId},
"districtId": {districtId},
"neighborhoodId": {neighborhoodId},
"latitude": "{latitude}",
"longitude": "{longitude}",
"countryCode": "TR",
"elevatorAvailable": false
}' | jq
Note: If response is 429, OTP verification is required. Direct user to add the address at tgoyemek.com instead.
Get list of all cities for address selection.
TOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-user-apimemberaddress-santral/cities" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq '.cities[] | {id, name}'
Get districts for a city.
Parameters:
cityId (required): City ID from get_citiesTOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-user-apimemberaddress-santral/cities/{cityId}/districts" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq '.districts[] | {id, name}'
Get neighborhoods for a district.
Parameters:
districtId (required): District ID from get_districtsTOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-user-apimemberaddress-santral/districts/{districtId}/neighborhoods" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq '.neighborhoods[] | {id, name}'
---
List restaurants near the selected address. Requires select_address first.
Parameters:
latitude (required): From selected addresslongitude (required): From selected addresspage (optional): Page number, default 1sortBy (optional): RECOMMENDED (default), RESTAURANT_SCORE, or RESTAURANT_DISTANCEminBasketPrice (optional): Pass 400 to filter min order >= 400 TLSorting keywords (Turkish & English):
RECOMMENDEDRESTAURANT_DISTANCERESTAURANT_SCORETOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-discovery-apidiscovery-santral/restaurants/filters?openRestaurants=true&latitude={latitude}&longitude={longitude}&pageSize=50&page={page}" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq
Add &sortType=RESTAURANT_SCORE or &sortType=RESTAURANT_DISTANCE for sorting (omit for RECOMMENDED).
Response fields: id, name, kitchen, rating, ratingText, minBasketPrice, averageDeliveryInterval, distance, neighborhoodName, isClosed, campaignText
Search restaurants and products by keyword. Results include product prices (useful for "cheapest" queries).
...
安装 Food402 - TGO Yemek 后,可以对 AI 说这些话来触发它
Help me get started with Food402 - TGO Yemek
Explains what Food402 - TGO Yemek does, walks through the setup, and runs a quick demo based on your current project
Use Food402 - TGO Yemek to order food from TGO Yemek (Trendyol GO), Turkey's leading food deli...
Invokes Food402 - TGO Yemek with the right parameters and returns the result directly in the conversation
What can I do with Food402 - TGO Yemek in my data & analytics workflow?
Lists the top use cases for Food402 - TGO Yemek, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/food402/ 目录(个人级,所有项目可用),或 .claude/skills/food402/(项目级)。重启 AI 客户端后,用 /food402 主动调用,或让 AI 根据上下文自动发现并使用。
Food402 - TGO Yemek 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Food402 - TGO Yemek 可免费安装使用。请查阅仓库了解许可证信息。
Order food from TGO Yemek (Trendyol GO), Turkey's leading food delivery service. Use when user wants to order food delivery in Turkey, browse restaurants, search for foods, manage delivery addresses, check order history, or checkout with 3D Secure payment.
Food402 - TGO Yemek 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Food402 - TGO Yemek
Identifies repetitive steps in your workflow and sets up Food402 - TGO Yemek to handle them automatically