Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rating and rating cout #37

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

juampynr
Copy link
Contributor

Amazon PAAPI started returning rating info for selected clients. When they activate such feature, it comes via these two properties in their GetItems responses.

Sample:

{
  "ItemsResult": {
    "Items": [
      {
        "Offers": {
          "Listings": [
            {
              "MerchantInfo": {
                "FeedbackCount": 385,
                "FeedbackRating": 4.68,
                "Id": "ATVPDKIKX0DER",
                "Name": "Amazon.com"
              }
           }
         ]
      }
    ]
  }
}

Amazon PAAPI started returning rating info for selected clients. When they activate such feature, it comes via these two properties in their GetItems responses.

Sample:

```
"MerchantInfo": {
                "FeedbackCount": 385,
                "FeedbackRating": 4.68,
                "Id": "ATVPDKIKX0DER",
                "Name": "Amazon.com"
              },
```
@spiegel-im-spiegel spiegel-im-spiegel merged commit 8ac3216 into goark:master Sep 12, 2024
2 checks passed
@spiegel-im-spiegel
Copy link
Member

Many thanks!

@juampynr juampynr deleted the patch-1 branch September 12, 2024 12:58
@juampynr
Copy link
Contributor Author

Just a comment to clarify something I found out later so I don't confuse anybody:

These two fields are merchant ratings, not ASIN ratings. ASIN ratings are available via EnableCustomerReviews().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants