使用 Groupon API 按标签获取 Groupon 优惠
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能。
请求参数不包含tag。
您可以使用 Yipit 的 api 按标签进行过滤。
You can't.
The request parameters do not include tag.
You can use Yipit's api to filter by tag.