简体   繁体   English

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

[英]Get Groupon Deals by tag using Groupon API

I am playing around with the Groupon API and I would like to get a list of deals based on a specific tag.我正在玩 Groupon API,我想获得基于特定标签的交易列表。

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} 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这是相关 API 文档的链接: http://sites.google.com/site/grouponapiv2/api-resources/deals

You can't.你不能。 The request parameters do not include tag.请求参数不包含标签。

You can use Yipit 's api to filter by tag.您可以使用Yipit的 api 按标签过滤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM