Webressources : Product reviews

You can dynamically retrieve product reviews as well as certain metrics (average rating per product, reviews per product, etc.).

Please follow these steps: 

1. Log in to your account and click on Retrieve my reviews:

2. Tick the desired data type:

 

3. Save the configuration:

4. If it's the first time, Generate all files:

Don't forget to save the settings at the bottom of the page.

Operation

The resources of the Product Webservice are updated every night at 3 am and available for each transaction data in the format of your choice:

  • CSV
  • XML
  • JSON

You can generate the retrieval stream at any time within your space (Display review → Review Backup → API) with your own access URL thanks to your identifier (idWebsite).

It is thus possible to obtain:

  1. Average ratings and number of reviews for all products
  2. Reviews per product
  3. Average rating and number of reviews per product
  4. List of products with at least one review and the update date

Files are generated every night, however if you have just activated the generation, you will need to wait a few minutes.

*<code_lang> : ISO 639-1 language code (ex: fr, en, it, de etc...)

Nomenclature

Each file will have its own call URL, in the following form:


https://cl.avis-verifies.com/fr/cache/[i]/[d]/[W]/[idWebsite]/AWS/PRODUCT_API/[data_type]/[product_id].[format]

Or

https://cl.avis-verifies.com/fr/cache/[i]/[d]/[W]/[idWebsite]/AWS/PRODUCT_API/[data_type]/all_products.[format]


In which, [i], [d], & [W] are the first 3 characters of the idWebsite and [format] is the chosen file format (csv, JSON or XML).

Average ratings and number of reviews for all products

This resource lists all id_product with at least one review and indicates its rating and number of reviews. Use this resource to display ratings on a list of products for example.

{ "3819":
{
"id_product":"3819",
"rate":"5",
"nb_reviews":"1" },
"50404":
{
"id_product":"50404",
"rate":"1",
"nb_reviews":"1"
}
}

Reviews per product

These resources list the reviews collected on a product that you can display publicly. These reviews have passed our moderation filters and are anonymized (first letter of the first name and last name). Use this resource to display reviews on a product page.

For an example, go to this page and search for "Products Reviews Web Resources - Reviews list by product".

Average rating and number of reviews per product

These resources identified by product_id allow you to obtain the rating and number of reviews of a product. Use this resource to display the rating and number of reviews of a product in the upper part of the product page or to feed your enriched contents (rich snippets) for example.

For an example, go to this page and search for " Products Reviews Web Ressources - Rate and count by product".

List of products with at least one review and the update date

This resource (.txt only) lists the products with at least one review and its last update date. Use this resource to know the list of products with reviews before calling one of the resources described above.

The last update date allows you to update your local cache only if the product has undergone a change in rating or number of reviews.

For an example, go to this page and search for " Products Reviews Web Resources - list of files with reviews".

Was this article helpful?
1 out of 3 found this helpful