使用 Groupon API 按标签获取 Groupon 优惠

发布于 2024-11-13 15:24:16 字数 526 浏览 7 评论 0原文

我正在使用 Groupon API,我想获取基于特定标签的交易列表。

使用 www.apigee.com 控制台,我在此 URL 上执行 GET 请求: https://api.groupon.com/ v2/deals.json?division_id=new-york&tag=Arcade&client_id={myId}

但是,我得到的响应似乎只是该部门的所有交易(在本例中为纽约) 。

以下是相关 API 文档的链接: http://sites.google.com/site/grouponapiv2/api-resources/deals

I am playing around with the Groupon API and I would like to get a list of deals based on a specific tag.

Using the www.apigee.com console, I am doing a GET request on this URL:
https://api.groupon.com/v2/deals.json?division_id=new-york&tag=Arcade&client_id={myId}

However, the response I am getting appears to just be all the deals for that division (In this case, New York).

Here is a link to the relevant API documentation:
http://sites.google.com/site/grouponapiv2/api-resources/deals

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

将军与妓 2024-11-20 15:24:16

你不能。
请求参数不包含tag。

您可以使用 Yipit 的 api 按标签进行过滤。

You can't.
The request parameters do not include tag.

You can use Yipit's api to filter by tag.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文