Lodging - Published Reviews Export

This endpoint provides the ability retrieve published reviews.  Published reviews are reviews selected by a ReviewPro users via the interface and can be "published" either to an Iframe widget or for output via this endpoint. This endpoint provides the entire review's data with a limitation of 160 character on the text content of the review. 

IMPORTANT INFORMATION: to test this feature it's best to first PUBLISH AT LEAST ONE REVIEW in ReviewPro for the property you are implementing the API-call. Failing to do will result in an error-message, since the API has no data to return.

Terms of Use Notice

IMPORTANT: You are subject to the "terms of use" of ReviewPro which have specific requirements to how this data can to be shown.

HolidayCheck

When publishing Holidaycheck reviews you are required to show the Holidaycheck logo under the following style guide.  The logo must be a min of 32px x 32px and vertically aligned to the middle of the title as in the example below:

The logo can be found at the following url: https://static01.reviewpro.com/icons/ota/50.png

Holidaycheck also requires that the 5 latest  reviews be published.  These reviews will automatically be added to your published reviews stream and may not be removed.  When you have added the HolidayCheck logo, please confirm by sending an email accountmanagement@reviewpro.com including  a link to your implementation. Failure to add the HolidayCheck logo may result in account suspension.

Other Sources

You do not have permission to use logos from other sources.

Resource URL

http://connect.reviewpro.com/v1/lodging/review/published

Try it now with our interactive API!

Authentication Type: api_key

Parameters

Param Value Required
api_key <your api key> Yes
pid The product id(s) of the lodging for which data is to be pulled Yes

Example GET Request

http://connect.reviewpro.com/v1/lodging/review/published?pid=<pid>&api_key=<yourkey>
{
    "productReviews": [{
        "productId": 18639,
        "reviews": [{
            "provider": "Booking",
            "url": "http://www.booking.com/hotel/es/rh-princesa.html",
            "publishedDate": 1322265600000,
            "detectedLang": "en",
            "author": {
                "name": "Anthony",
                "location": "Spain",
                "country": "ES",
                "group": "Mature couple"
            },
            "ratings": {
                "OVERALL": {
                    "value": 9.6,
                    "outOf": 10
                }
            },
            "title": "One of the reasons was the parking...",
            "text": "One of the reasons was the parking facility we had."
        }, {
            "provider": "Booking",
            "url": "http://www.booking.com/hotel/es/rh-princesa.en-gb.html?tab=4",
            "publishedDate": 1355961600000,
            "author": {
                "name": "Silvia",
                "location": "Spain",
                "country": "ES",
                "group": "Solo traveller"
            },
            "ratings": {
                "OVERALL": {
                    "value": 8.3,
                    "outOf": 10
                }
            },
            "title": "UNTITLED"
        }, {
            "provider": "Booking",
            "url": "http://www.booking.com/hotel/es/rh-princesa.en.html?tab=4",
            "publishedDate": 1362182400000,
            "detectedLang": "en",
            "author": {
                "name": "Celia",
                "location": "United Kingdom",
                "country": "GB",
                "group": "Mature couple"
            },
            "ratings": {
                "OVERALL": {
                    "value": 9.2,
                    "outOf": 10
                }
            },
            "title": "friendly staff efficient...",
            "text": "friendly staff efficient reception cleaned room daily warm on cold days."
        }, {
            "provider": "Booking",
            "url": "http://www.booking.com/hotel/es/rh-princesa.en-gb.html?tab=4",
            "publishedDate": 1357084800000,
            "author": {
                "name": "David",
                "location": "United Kingdom",
                "country": "GB",
                "group": "Family with older children"
            },
            "ratings": {
                "OVERALL": {
                    "value": 8.8,
                    "outOf": 10
                }
            },
            "title": "UNTITLED"
        }, {
            "provider": "Booking",
            "url": "http://www.booking.com/hotel/es/rh-princesa.en-gb.html?tab=4",
            "publishedDate": 1343865600000,
            "detectedLang": "es",
            "author": {
                "name": "Booking.com User",
                "location": "Italy",
                "country": "IT",
                "group": "Family with young children"
            },
            "ratings": {
                "OVERALL": {
                    "value": 7.5,
                    "outOf": 10
                }
            },
            "title": "Ideal para familia con niños pequeños,...",
            "text": "Ideal para familia con niños pequeños, ofrecen muchas alternativas para los peques"
        }, {
            "provider": "Booking",
            "url": "http://www.booking.com/hotel/es/rh-princesa.en-gb.html?tab=4",
            "publishedDate": 1343088000000,
            "detectedLang": "es",
            "author": {
                "name": "Cristina",
                "location": "Spain",
                "country": "ES",
                "group": "Young couple"
            },
            "ratings": {
                "OVERALL": {
                    "value": 8.8,
                    "outOf": 10
                }
            },
            "title": "La piscina.El ascensor tarda una...",
            "text": "La piscina El ascensor tarda una eternidad"
        }]
    }]
}