Reading reviews
Opened this issue · 0 comments
axos88 commented
A GET to /v2/reviews
with the following parameters:
{
_format: "for_web_host_stats",
_offset: offset,
_limit: limit,
_order: "recent",
role: "guest",
"reviewee_id": user_id
}
Returns the reviews with pretty much all info. Role can be "host" to return all the reviews made by the hosts for that person.
Your own user_id can be deduced by get_host_summary['active_listings'].first['listing']['listing']['user_id']
. Yuck. Whatever, I saved it as a constant and hardwired it, it's good enough for my use case.