api - 如何按 Etsy API 中的字段过滤
问题描述
我正在使用 Etsy API v2 使用 Postman 进行 GET 调用。目的是为在德国的商店和谁销售婚纱(新娘服装)获取带有图像的列表...我发现没有办法直接获取德国商店的列表,所以我尝试实施一个解决方法获取货币为欧元、语言为德语 (de) 等的商店的图像。问题是我无法按字段/参数过滤内容(例如“语言”:“de”,(不是“MACHINE_de”) “params”:{“region”:“DE”},“currency_code”:“USD”,“taxonomy_path”:[“Kleidung”,“Braut”],“图片”:[“url_fullxfull”]
我使用了这些调用:
https://openapi.etsy.com/v2/listings/active?api_key=xyz&limit=1®ion=DE&includes=Images:1:0&language=de¤cy_code=EUR&fields=language,currency_code,url,listing_id,title,price,occasion,taxonomy_path
和
http://openapi.etsy.com/v2/shops/19924510/listings/active?method=GET&api_key=xyz&fields=title,url,price,language&limit=1&includes=MACHINE_de&language=de
这个 API 调用根据 currency_code 和语言过滤商店:
https://openapi.etsy.com/v2/shops/?api_key=xyz&limit=1¤cy_code:EUR&&languages=DE
有没有办法让上面的字段和参数过滤的 API 结果?
解决方案
推荐阅读
- python - 由于 IntegrityError 类型的 TypeError 对象不是 JSON 可序列化的,因此无法使用 DRF 将数据插入模型
- php - 使用 php 存储表单数据会打开一个新页面,而不是在同一页面中进行
- java - 有没有办法将片段动态添加到对话框(不是 DialogFragment)?
- python - highstockchart 范围选择器 x 轴日期仅显示 1970 年 1 月 8 日至 1970 年 1 月 19 日
- python-3.x - 何时使用 pytest 固定装置?
- flutter - 如何在颤动中返回刷新的数据
- php - 如何从php字符串中删除特定字符?
- java - 当我没有在以前的 APK 中指定版本时如何更新 SQLite 数据库
- r - 在R中替换复杂的for循环
- javascript - Async / Await 不适用于 Google drive API