Accessing the REVIEWS resource
The reviews resource provides read only access to the product reviews on Aanbieders.be.
Choose the appropriate HTTP method
Resource | HTTP format | URL.format | Description |
---|---|---|---|
Reviews | GET | /reviews.json | Returns a list of reviews |
By using this method, you can request a list of reviews. The reviews in this list are selected based on parameters that are either reviewal or required and passed along with HTTP method.
Define the parameters
The reviews resource accepts a number of parameters based. You can either request explicit reviews by providing their IDs, or do a more Find-based approach to find all reviews operating in a certain product-area.
Name | Parameter | Required | Type | Description |
---|---|---|---|---|
Language | lang | yes | nl / fr | Language |
Detaillevel | detaillevel | no | array | Level of detail in response (see detaillevel-chapter) |
Producttype | cat | no | array | array of producttype |
Supplier(s) | pref_cs | no | array | array of supplier_ids |
Limit | limit | yes | integer | number of reviews |
Detaillevel
Detaillevel gives you the possibility to scale down the response array. When you only need texts, you can add texts to your detaillevel array and will only get the text array in your output.
In this case, you have the choice in:
- texts