opencode-skills-collection 4.1.17 → 4.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of opencode-skills-collection might be problematic. Click here for more details.

Files changed (65) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +16 -1
  2. package/bundled-skills/agentic-test-audit/SKILL.md +143 -0
  3. package/bundled-skills/agentic-verify/SKILL.md +153 -0
  4. package/bundled-skills/altorank/SKILL.md +155 -0
  5. package/bundled-skills/apify-reddit-scraper/SKILL.md +208 -0
  6. package/bundled-skills/apify-reddit-scraper/references/gotchas.md +62 -0
  7. package/bundled-skills/apify-reddit-scraper/references/input-mapping.md +118 -0
  8. package/bundled-skills/chord-onchain-trading/SKILL.md +98 -0
  9. package/bundled-skills/healthcare-job-search/SKILL.md +77 -0
  10. package/bundled-skills/logo-to-stickers/LICENSE +21 -0
  11. package/bundled-skills/logo-to-stickers/SKILL.md +111 -0
  12. package/bundled-skills/logo-to-stickers/references/walkthrough.md +9 -0
  13. package/bundled-skills/mmx-cli/SKILL.md +7 -4
  14. package/bundled-skills/moltnode-chain-reader/SKILL.md +84 -0
  15. package/bundled-skills/movie-coupon/SKILL.md +95 -0
  16. package/bundled-skills/movie-coupon/assets/movie-sample1.png +0 -0
  17. package/bundled-skills/movie-coupon/references/api_documentation.md +66 -0
  18. package/bundled-skills/movie-coupon/scripts/fetch_coupons.py +154 -0
  19. package/bundled-skills/obsess/LICENSE +21 -0
  20. package/bundled-skills/obsess/SKILL.md +125 -0
  21. package/bundled-skills/obsess/assets/baseline.example.json +19 -0
  22. package/bundled-skills/obsess/assets/candidate.example.json +19 -0
  23. package/bundled-skills/obsess/assets/contract.example.json +29 -0
  24. package/bundled-skills/obsess/assets/experiment.template.json +21 -0
  25. package/bundled-skills/obsess/assets/report.template.md +17 -0
  26. package/bundled-skills/obsess/assets/run.template.md +32 -0
  27. package/bundled-skills/obsess/assets/state.template.json +26 -0
  28. package/bundled-skills/obsess/references/discovery.md +13 -0
  29. package/bundled-skills/obsess/references/evaluators.md +54 -0
  30. package/bundled-skills/obsess/references/host.md +73 -0
  31. package/bundled-skills/obsess/references/integrations/cline/obsess.md +9 -0
  32. package/bundled-skills/obsess/references/integrations/codex/obsess.md +13 -0
  33. package/bundled-skills/obsess/references/integrations/copilot/obsess.prompt.md +12 -0
  34. package/bundled-skills/obsess/references/integrations/cursor/obsess.md +9 -0
  35. package/bundled-skills/obsess/references/integrations/gemini/obsess-command.md +11 -0
  36. package/bundled-skills/obsess/references/integrations/opencode/obsess.md +10 -0
  37. package/bundled-skills/obsess/references/integrations/rules/obsess.md +23 -0
  38. package/bundled-skills/obsess/references/integrations/windsurf/obsess.md +11 -0
  39. package/bundled-skills/obsess/references/polish.md +59 -0
  40. package/bundled-skills/obsess/references/protocol.md +55 -0
  41. package/bundled-skills/obsess/references/recipes.md +51 -0
  42. package/bundled-skills/obsess/references/recovery.md +50 -0
  43. package/bundled-skills/obsess/scripts/gate.py +167 -0
  44. package/bundled-skills/obsess/scripts/install.py +241 -0
  45. package/bundled-skills/obtain-coupons-all-in-one/SKILL.md +95 -0
  46. package/bundled-skills/obtain-coupons-all-in-one/references/api_documentation.md +321 -0
  47. package/bundled-skills/obtain-coupons-all-in-one/scripts/fetch_coupons.py +451 -0
  48. package/bundled-skills/openhook/LICENSE +21 -0
  49. package/bundled-skills/openhook/SKILL.md +119 -0
  50. package/bundled-skills/openhook/references/evaluations.md +19 -0
  51. package/bundled-skills/parcel-coupon/SKILL.md +95 -0
  52. package/bundled-skills/parcel-coupon/references/api_documentation.md +68 -0
  53. package/bundled-skills/parcel-coupon/scripts/fetch_coupons.py +154 -0
  54. package/bundled-skills/takeout-coupon/SKILL.md +95 -0
  55. package/bundled-skills/takeout-coupon/assets/eleme-sample1.png +0 -0
  56. package/bundled-skills/takeout-coupon/assets/meituan-sample1.png +0 -0
  57. package/bundled-skills/takeout-coupon/references/api_documentation.md +173 -0
  58. package/bundled-skills/takeout-coupon/scripts/fetch_coupons.py +221 -0
  59. package/bundled-skills/trip-coupon/SKILL.md +95 -0
  60. package/bundled-skills/trip-coupon/assets/trip-sample1.png +0 -0
  61. package/bundled-skills/trip-coupon/assets/trip-sample2.png +0 -0
  62. package/bundled-skills/trip-coupon/references/api_documentation.md +73 -0
  63. package/bundled-skills/trip-coupon/scripts/fetch_coupons.py +194 -0
  64. package/package.json +1 -1
  65. package/skills_index.json +489 -0
@@ -0,0 +1,95 @@
1
+ ---
2
+ name: obtain-coupons-all-in-one
3
+ description: "All-in-one coupon fetcher supporting takeout (Meituan, Ele.me, JD), parcel/courier (SF, ZTO, YTO, etc.), travel (DiDi, Ctrip), and movie tickets (Taopiaopiao, Maoyan) coupons with one-click access to all discounts."
4
+ category: shopping
5
+ risk: safe
6
+ source: community
7
+ source_repo: moooai/obtain-coupons-all-in-one
8
+ source_type: community
9
+ date_added: "2026-10-16"
10
+ author: moooai
11
+ tags: [coupons, all-in-one, takeout, travel, movie, parcel]
12
+ tools: [claude, codex]
13
+ ---
14
+
15
+ # All-in-one Coupons (Takeout / Travel / Movie / Parcel)
16
+
17
+ ## Overview
18
+
19
+ All-in-one coupon fetcher covering the four downstream moooai coupon skills: takeout (Meituan/Ele.me/JD), travel (Didi/hotels), movie tickets and parcel/courier. Pick the right endpoint per scenario and merge results.
20
+
21
+ The skill is adapted from the open-source repository `moooai/obtain-coupons-all-in-one`. It ships with a fetch script (`scripts/fetch_coupons.py`) and full API documentation (`references/api_documentation.md`). No API keys or credentials are required - the public endpoint is free to call.
22
+
23
+ ## When to Use This Skill
24
+
25
+ - Use when the user asks about takeout, travel, movie or parcel coupons, red packets (hongbao) or hidden promo codes
26
+ - Use when the user wants to know which platform has the best takeout, travel, movie or parcel deal today
27
+ - Use when the user cannot copy a coupon code and needs a QR code or H5 claim page instead
28
+
29
+ ## How It Works
30
+
31
+ ### Step 1: Fetch the coupon feed
32
+
33
+ Call `GET https://agskills.moontai.top/coupon/takeout (takeout) | /coupon/trip (travel) | /coupon/movie (movie) | /coupon/parcel (parcel)` (no auth). `scripts/fetch_coupons.py` does this and additionally appends anonymous attribution parameters (`ch`, `u`) used for install/order attribution statistics.
34
+
35
+ ### Step 2: Parse and organize the response
36
+
37
+ The response is JSON. Same shapes as the individual skills: takeout returns platform-keyed coupon lists, the other three return JSON arrays of claim-page entries.
38
+
39
+ ### Step 3: Present coupons to the user
40
+
41
+ For each coupon show: title, coupon code (verbatim), and claim guideline. For entries with `coupon_url` / `coupon_qrcode_img_url`, show the claim-page link and/or QR code image. Highlight featured coupons (marked with 🔥 or "主推") first.
42
+
43
+ ## The Coupon Code Verbatim Rule (critical)
44
+
45
+ `coupon_code` values are platform-specific taokouling (口令) strings that may contain `%`, `¥`, `$`, `✔`, `!` and other special characters. They are only recognized by the target app if copied exactly.
46
+
47
+ - ❌ Do not add, remove, reformat, translate or "beautify" any character of `coupon_code`
48
+ - ❌ Do not URL-encode or escape special characters
49
+ - ✅ Render the string exactly as returned by the API, together with its `guideline`
50
+
51
+ ## Examples
52
+
53
+ ### Example: user asks for coupons
54
+
55
+ **User:** "Show me all coupons you can find"
56
+
57
+ **Flow:** call `GET https://agskills.moontai.top/coupon/takeout (takeout) | /coupon/trip (travel) | /coupon/movie (movie) | /coupon/parcel (parcel)`, then present each coupon as:
58
+
59
+ ```
60
+ 【All categories】
61
+ 1. <title>
62
+ Coupon code: <coupon_code verbatim>
63
+ How to claim: <guideline>
64
+ ```
65
+
66
+ For entries carrying `coupon_url`/`coupon_qrcode_img_url`, additionally offer the claim link (best opened in WeChat) and the QR code image.
67
+
68
+ ## Best Practices
69
+
70
+ - ✅ Show the claim guideline next to every coupon code
71
+ - ✅ Fall back to the QR/H5 claim page when the user cannot copy codes
72
+ - ✅ Skip platforms whose coupon list is empty and say so
73
+ - ❌ Never modify a `coupon_code` string in any way
74
+ - ❌ Do not cache coupons for long - feeds refresh and codes expire
75
+
76
+ ## Limitations
77
+
78
+ - Coupons are for mainland-China platforms; apps (Meituan, Taobao, JD, WeChat, etc.) and a Chinese phone number may be required to redeem
79
+ - Feed availability depends on the upstream API; on failure, tell the user to retry later
80
+ - This skill does not replace the apps themselves - codes must be redeemed inside the official apps
81
+
82
+ ## Security & Safety Notes
83
+
84
+ - The only network operation is a read-only `GET` to the public endpoint `https://agskills.moontai.top/coupon/takeout (takeout) | /coupon/trip (travel) | /coupon/movie (movie) | /coupon/parcel (parcel)` (domain `agskills.moontai.top`); no credentials, tokens or user data are sent beyond anonymous attribution parameters (`ch`, `u`) documented in the repo
85
+ - `scripts/fetch_coupons.py` performs no local file mutation, no shell execution and no installs
86
+ - `risk: safe` reflects read-only network documentation; re-evaluate if the upstream API changes
87
+
88
+ ## Common Pitfalls
89
+
90
+ - **Problem:** Coupon code does not work in the target app
91
+ **Solution:** Check that the code was copied with every special character intact; offer the QR/H5 claim page as fallback
92
+
93
+ ## Related Skills
94
+
95
+ - `@obtain-coupons-all-in-one` - all-in-one coupon fetcher covering takeout, travel, movie and parcel
@@ -0,0 +1,321 @@
1
+ # 全平台优惠券API接口文档
2
+
3
+ ## 接口概览
4
+
5
+ 此skill整合了4个独立的优惠券API接口,提供一站式优惠券获取服务。
6
+
7
+ | 优惠券类型 | 接口地址 | 支持平台 |
8
+ |-----------|----------|---------|
9
+ | 外卖优惠券 | `https://agskills.moontai.top/coupon/takeout` | 美团、饿了么/淘宝闪购、京东 |
10
+ | 快递优惠券 | `https://agskills.moontai.top/coupon/parcel` | 顺丰、中通、圆通、韵达、申通、菜鸟 |
11
+ | 出行优惠券 | `https://agskills.moontai.top/coupon/trip` | 滴滴出行、酒店优惠礼包 |
12
+ | 电影票优惠券 | `https://agskills.moontai.top/coupon/movie` | 淘票票、猫眼 |
13
+
14
+ ## 通用配置
15
+
16
+ | 配置项 | 值 |
17
+ |--------|-----|
18
+ | 认证方式 | 无需认证 |
19
+ | 请求方法 | GET |
20
+ | 返回格式 | JSON |
21
+ | 超时设置 | 10秒 |
22
+
23
+ ## 1. 外卖优惠券API
24
+
25
+ ### 接口信息
26
+
27
+ | 配置项 | 值 |
28
+ |--------|-----|
29
+ | 接口地址 | `https://agskills.moontai.top/coupon/takeout` |
30
+ | 返回格式 | JSON |
31
+
32
+ ### 响应结构
33
+
34
+ ```json
35
+ {
36
+ "美团隐藏外卖券列表": [
37
+ {
38
+ "title": "美团外卖节(主推)🔥🔥",
39
+ "coupon_code": "❤️复制整条信息,打开👉美团👈 http:/💰t7NWIxNDQ0NTE💰",
40
+ "guideline": "手机先复制优惠券代码,打开美团APP自动领取"
41
+ },
42
+ {
43
+ "title": "美团外卖甄选好店🔥🔥",
44
+ "coupon_code": "❤️复制整条信息,打开👉美团👈 http:/💰w0OGFiZjdmYTk💰",
45
+ "guideline": "手机先复制优惠券代码,打开美团APP自动领取"
46
+ },
47
+ {
48
+ "title": "美团外卖【品牌商品券🔥🔥】",
49
+ "coupon_code": "❤️复制整条信息,打开👉美团👈 http:/💰wuMzJlZGFlMTY💰",
50
+ "guideline": "手机先复制完整的优惠券代码,打开美团APP自动领取"
51
+ },
52
+ {
53
+ "title": "美团外卖【神券包】 9.9元购360元年卡",
54
+ "coupon_code": "❤️复制整条信息,打开👉美团👈 http:/💰ydZWY2NjQ2NDg💰",
55
+ "guideline": "手机先复制完整的优惠券代码,打开美团APP自动领取"
56
+ }
57
+ ],
58
+ "饿了么/淘宝闪购隐藏外卖券列表": [
59
+ {
60
+ "title": "淘宝闪购-叠红包🔥🔥",
61
+ "coupon_code": "¥Q8rJTMpjkKE¥/ HU7405 【闪购品牌日 单单有福利】",
62
+ "guideline": "请复制完整的优惠券代码,打开淘宝APP领取"
63
+ },
64
+ {
65
+ "title": "淘宝闪购-天天领红包(全场景, 最高抢66元大额红包)",
66
+ "coupon_code": "0fυィ直文本2:/$TMpQp4v$~.淘宝闪购App【天天领红包(全场景通用)】",
67
+ "guideline": "请复制完整的优惠券代码,打开淘宝APP领取"
68
+ },
69
+ {
70
+ "title": "淘宝闪购-宵夜专场",
71
+ "coupon_code": "0複制文本666:/$TMpQ6cz$~.淘宝闪购App【闪购夜宵专享会场】",
72
+ "guideline": "请复制完整的优惠券代码,打开淘宝APP领取"
73
+ },
74
+ {
75
+ "title": "淘宝闪购-学生专场",
76
+ "coupon_code": "29 HU7405 2:/TpOYTMpkOTb✔四学生专享天天好价",
77
+ "guideline": "请复制完整的优惠券代码,打开淘宝APP领取"
78
+ }
79
+ ],
80
+ "京东隐藏外卖券列表": [
81
+ {
82
+ "title": "京东外卖-惊喜红包(主推)",
83
+ "coupon_code": "!V6M0P42CyIm6sAe4! CA1565",
84
+ "guideline": "请复制完整的优惠券代码,打开京东APP领取"
85
+ },
86
+ {
87
+ "title": "京东外卖-高Y品质会场",
88
+ "coupon_code": " !F4v6f1xHQipuCbW8! CA1331",
89
+ "guideline": "请复制完整的优惠券代码,打开京东APP领取"
90
+ },
91
+ {
92
+ "title": "京东外卖-夜宵专场",
93
+ "coupon_code": "!I3xPR007jcyak7Uo! CA3576",
94
+ "guideline": "请复制完整的优惠券代码,打开京东APP领取"
95
+ }
96
+ ],
97
+ "扫码领取/H5网页跳转领取": [
98
+ {
99
+ "title": "美团优惠券领取页",
100
+ "coupon_url": "https://h5.sichuanyunzhan.com/pages_single/meiTuan/index?platform=singlePage&pid=e467cdcafe2b1791cdfc&accountsId=nEjX0zy4Zmyq",
101
+ "coupon_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/meituan-614d8c70-26c5-43bc-9e91-4468651709e8.png",
102
+ "guideline": "点击链接下单(建议用微信打开),或使用微信扫描二维码下单(单单享优惠)"
103
+ },
104
+ {
105
+ "title": "饿了么/淘宝闪购优惠券领取页",
106
+ "coupon_url": "https://h5.sichuanyunzhan.com/pages_single/hungry/index?platform=singlePage&pid=e467cdcafe2b1791cdfc&accountsId=nEjX0zy4Zmyq",
107
+ "coupon_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/taobao-9dd25c45-2e2c-451d-af71-a502f815de16.png",
108
+ "guideline": "点击链接下单(建议用微信打开),或使用微信扫描二维码下单(单单享优惠)"
109
+ }
110
+ ],
111
+ "查找更多优惠券": {
112
+ "title": "更多类型优惠券(外卖、电影、快递、旅游、打车)",
113
+ "coupon_h5_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/qrcode_for_gh.jpg",
114
+ "guideline": "可以使用微信扫码后领券。关注不迷路,天天领券!"
115
+ }
116
+ }```
117
+
118
+ ### 响应字段
119
+
120
+ | 字段名 | 类型 | 说明 |
121
+ |--------|------|------|
122
+ | 美团隐藏外卖券列表 | Array | 美团外卖平台优惠券 |
123
+ | 饿了么/淘宝闪购隐藏外卖券列表 | Array | 淘宝闪购/饿了么优惠券 |
124
+ | 京东隐藏外卖券列表 | Array | 京东外卖优惠券 |
125
+ | 查找更多优惠券 | Object | 更多优惠券入口(外卖、电影、快递、旅游、打车,公众号二维码) |
126
+ | [].title | String | 优惠券标题 |
127
+ | [].coupon_code | String | **优惠券代码,原样呈现,禁止修改** |
128
+ | [].guideline | String | 领取说明 |
129
+ | 查找更多优惠券.coupon_h5_qrcode_img_url | String | 公众号二维码图片URL |
130
+ | 查找更多优惠券.guideline | String | 使用说明 |
131
+
132
+ ## 2. 快递优惠券API
133
+
134
+ ### 接口信息
135
+
136
+ | 配置项 | 值 |
137
+ |--------|-----|
138
+ | 接口地址 | `https://agskills.moontai.top/coupon/parcel` |
139
+ | 返回格式 | JSON(数组) |
140
+
141
+ ### 响应结构
142
+
143
+ ```json
144
+ [
145
+ {
146
+ "title": "快递一站式服务,智能寄件,智能匹配价格;单单享优惠,件件有折扣",
147
+ "coupon_url": "https://open.cdyunzhanxinxi.com/link/100058569b79be0bd2561000406SEVGA",
148
+ "coupon_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/coupon-parcel.png",
149
+ "guideline": "点击链接下单(建议用微信打开),或使用微信扫描二维码下单(单单享优惠)"
150
+ },
151
+ {
152
+ "title": "更多优惠券!(外卖、电影、快递、旅游、打车)",
153
+ "coupon_h5_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/qrcode_for_gh.jpg",
154
+ "guideline": "可以使用微信扫码后领券。关注不迷路,天天领券!"
155
+ }
156
+ ]```
157
+
158
+ ### 响应字段
159
+
160
+ | 字段名 | 类型 | 说明 |
161
+ |--------|------|------|
162
+ | [].title | String | 优惠券标题 |
163
+ | [].coupon_url | String | **优惠券链接,原样呈现,禁止修改** |
164
+ | [].coupon_qrcode_img_url | String | **二维码图片URL,原样呈现,禁止修改** |
165
+ | [].guideline | String | 领取说明 |
166
+
167
+ ## 3. 出行优惠券API
168
+
169
+ ### 接口信息
170
+
171
+ | 配置项 | 值 |
172
+ |--------|-----|
173
+ | 接口地址 | `https://agskills.moontai.top/coupon/trip` |
174
+ | 返回格式 | JSON(数组) |
175
+
176
+ ### 响应结构
177
+
178
+ ```json
179
+ [
180
+ {
181
+ "title": "滴滴出行大礼包,打车券天天领",
182
+ "coupon_url": "https://h5.sichuanyunzhan.com/pages_single/didi/index?platform=singlePage&pid=e467cdcafe2b1791cdfc&accountsId=nEjX0zy4Zmyq",
183
+ "coupon_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/didi-64c76f2b-0bf5-483f-beb9-57061c31f3e0.png",
184
+ "guideline": "点击链接领券(建议用微信打开),或使用微信扫描二维码领券"
185
+ },
186
+ {
187
+ "title": "酒店优惠大礼包,住宿出行天天领",
188
+ "coupon_url": "https://h5.sichuanyunzhan.com/pages_single/hotel/index?platform=singlePage&pid=e467cdcafe2b1791cdfc&accountsId=nEjX0zy4Zmyq",
189
+ "coupon_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/hotel-661139fb-17c1-4b88-a42b-7a02054af1b5.png",
190
+ "guideline": "点击链接领券(建议用微信打开),或使用微信扫描二维码领券"
191
+ },
192
+ {
193
+ "title": "更多优惠券!(外卖、电影、快递、旅游、打车)",
194
+ "coupon_h5_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/qrcode_for_gh.jpg",
195
+ "guideline": "可以使用微信扫码后领券。关注不迷路,天天领券!"
196
+ }
197
+ ]```
198
+
199
+ ### 响应字段
200
+
201
+ | 字段名 | 类型 | 说明 |
202
+ |--------|------|------|
203
+ | [].title | String | 优惠券标题 |
204
+ | [].coupon_url | String | **优惠券链接,原样呈现,禁止修改** |
205
+ | [].coupon_qrcode_img_url | String | **二维码图片URL,原样呈现,禁止修改** |
206
+ | [].coupon_h5_qrcode_img_url | String | 公众号二维码图片URL(仅「更多优惠券」入口项有) |
207
+ | [].guideline | String | 领取说明 |
208
+
209
+ ## 4. 电影票优惠券API
210
+
211
+ ### 接口信息
212
+
213
+ | 配置项 | 值 |
214
+ |--------|-----|
215
+ | 接口地址 | `https://agskills.moontai.top/coupon/movie` |
216
+ | 返回格式 | JSON(数组) |
217
+
218
+ ### 响应结构
219
+
220
+ ```json
221
+ [
222
+ {
223
+ "title": "电影票优惠券-支持用户在线购买全国10000+影院电影票、用户享受8折起购票优惠",
224
+ "coupon_url": "https://personal.yunzhanxinxi.com/movie/?promotion_id=yz-69870112-218077-267995&user_source=vip",
225
+ "guideline": "点击链接领券(建议用微信打开),或使用微信扫描二维码领券"
226
+ },
227
+ {
228
+ "title": "更多优惠券!(外卖、电影、快递、旅游、打车)",
229
+ "coupon_h5_qrcode_img_url": "https://moontai-static.oss-cn-shenzhen.aliyuncs.com/qrcode_for_gh.jpg",
230
+ "guideline": "可以使用微信扫码后领券。关注不迷路,天天领券!"
231
+ }
232
+ ]```
233
+
234
+ ### 响应字段
235
+
236
+ | 字段名 | 类型 | 说明 |
237
+ |--------|------|------|
238
+ | [].title | String | 优惠券标题 |
239
+ | [].coupon_url | String | **优惠券链接,原样呈现,禁止修改** |
240
+ | [].coupon_qrcode_img_url | String | **二维码图片URL,原样呈现,禁止修改** |
241
+ | [].guideline | String | 领取说明 |
242
+
243
+ ## 重要说明
244
+
245
+ ### coupon_code 处理规则
246
+
247
+ **严格禁止修改coupon_code字段的任何内容!**
248
+
249
+ - 优惠券代码可能包含特殊字符:%、¥、✔、!、£等
250
+ - 这些特殊字符是平台特定格式,必须原样保持
251
+ - 禁止添加空格、换行或任何格式化
252
+ - 禁止翻译、解释或重新排列代码顺序
253
+
254
+ ### coupon_url 和 coupon_qrcode_img_url 处理规则
255
+
256
+ **严格禁止修改任何URL字段的任何内容!**
257
+
258
+ - URL链接必须原样保持
259
+ - 禁止添加空格、换行或任何格式化
260
+ - 禁止翻译、解释或重新排列链接顺序
261
+
262
+ ## 错误码
263
+
264
+ | 情况 | 说明 |
265
+ |------|------|
266
+ | 正常返回 | 返回JSON数据 |
267
+ | 网络错误 | 返回"无法获取优惠券信息,请稍后重试" |
268
+ | 解析错误 | 返回"数据解析异常,请联系技术支持" |
269
+
270
+ ## 使用建议
271
+
272
+ ### 外卖优惠券
273
+ - 优先展示美团优惠券
274
+ - 对于无法复制coupon_code的用户,提供「查找更多优惠券」公众号二维码
275
+
276
+ ### 快递优惠券
277
+ - 建议在微信中打开coupon_url
278
+ - 或使用微信扫描coupon_qrcode_img_url
279
+
280
+ ### 出行优惠券
281
+ - 根据用户需求选择滴滴或酒店优惠礼包
282
+ - 支持打车、住宿等多种出行场景
283
+
284
+ ### 电影票优惠券
285
+ - 适合淘票票、猫眼等主流电影平台
286
+ - 建议在微信中打开链接或扫码
287
+
288
+ ## 调用示例
289
+
290
+ ### Python
291
+
292
+ ```python
293
+ import requests
294
+
295
+ # 获取所有优惠券
296
+ takeout = requests.get("https://agskills.moontai.top/coupon/takeout").json()
297
+ parcel = requests.get("https://agskills.moontai.top/coupon/parcel").json()
298
+ trip = requests.get("https://agskills.moontai.top/coupon/trip").json()
299
+ movie = requests.get("https://agskills.moontai.top/coupon/movie").json()
300
+
301
+ print("外卖优惠券:", takeout)
302
+ print("快递优惠券:", parcel)
303
+ print("出行优惠券:", trip)
304
+ print("电影票优惠券:", movie)
305
+ ```
306
+
307
+ ### cURL
308
+
309
+ ```bash
310
+ # 外卖优惠券
311
+ curl https://agskills.moontai.top/coupon/takeout
312
+
313
+ # 快递优惠券
314
+ curl https://agskills.moontai.top/coupon/parcel
315
+
316
+ # 出行优惠券
317
+ curl https://agskills.moontai.top/coupon/trip
318
+
319
+ # 电影票优惠券
320
+ curl https://agskills.moontai.top/coupon/movie
321
+ ```