将Review API调用转换为html

时间:2017-03-02 15:34:37

标签: api call

我很抱歉遇到麻烦。 我无法将API调用转换为可以放在网页上的html。

电话是这样的: https://api.feefo.com/api/version/reviews/summaryall?merchant_identifier=example-retail-merchant

它产生这样的东西:

{
  "merchant": {
    "identifier": "example-retail-merchant", 
    "name": "Example Retail Merchant", 
    "url": "http://www.exampleretailmerchant.co.uk", 
    "logo": "example-retail-merchant-logo.png", 
    "review_url": "http://www.feefo.com/en_GB/reviews/example-retail-merchant"
  }, 
  "meta": {
    "count": 3878, 
    "pages": 194, 
    "page_size": 20
  }, 
  "rating": {
    "min": 1, 
    "max": 5, 
    "rating": 4.9, 
    "service": {
      "count": 3878, 
      "1_star": 8, 
      "2_star": 28, 
      "3_star": 0, 
      "4_star": 181, 
      "5_star": 3661
    }, 
    "product": {
      "count": 6240, 
      "1_star": 55, 
      "2_star": 102, 
      "3_star": 0, 
      "4_star": 724, 
      "5_star": 5359
    }
  }
}

任何人都可以指出我正确的指示吗?

非常感谢你......

0 个答案:

没有答案