admin管理员组文章数量:1410682
I'm trying to use the Zillow Reviewees and Reviews API to retrieve reviews - I have the proper access and permissions.
When I use this URL to get the reviewee key and number of reviews:
?$select=RevieweeEmail,ReviewCount&$filter=RevieweeEmail+eq+'AN_AGENT_EMAIL'&access_token=MY_ACCESS_TOKEN
I get these values:
ReviewCount: 80
RevieweeKey: A_REVIEWEE_KEY
Then, using the reviewee key in this URL:
?&$filter=ReviewDate+ge+2010-01-01+and+RevieweeKey+eq+%A_REVIEWEE_KEY %27&$select=ReviewerScreenName,ReviewDate,ReviewKey&$orderby=ReviewDate&access_token=MY_ACCESS_TOKEN
I get 10 reviews, with dates between 2018-11-19 and 2020-05-07.
So then I update the filter to
"$filter=ReviewDate+ge+2020-05-07+and+RevieweeKey+eq+%A_REVIEWEE_KEY"
but I only got a single review - the last one I got in the first query (because I did "ge". If I use "gt", I get no reviews). I don't understand why that is the case - there are 80 reviews per the first call. I would expect to get another 10.
I want to get all 80 reviews, what am I missing?
I'm trying to use the Zillow Reviewees and Reviews API to retrieve reviews - I have the proper access and permissions.
When I use this URL to get the reviewee key and number of reviews:
https://api.bridgedataoutput/api/v2/OData/reviews/Reviewees?$select=RevieweeEmail,ReviewCount&$filter=RevieweeEmail+eq+'AN_AGENT_EMAIL'&access_token=MY_ACCESS_TOKEN
I get these values:
ReviewCount: 80
RevieweeKey: A_REVIEWEE_KEY
Then, using the reviewee key in this URL:
https://api.bridgedataoutput/api/v2/OData/reviews/Reviews?&$filter=ReviewDate+ge+2010-01-01+and+RevieweeKey+eq+%A_REVIEWEE_KEY %27&$select=ReviewerScreenName,ReviewDate,ReviewKey&$orderby=ReviewDate&access_token=MY_ACCESS_TOKEN
I get 10 reviews, with dates between 2018-11-19 and 2020-05-07.
So then I update the filter to
"$filter=ReviewDate+ge+2020-05-07+and+RevieweeKey+eq+%A_REVIEWEE_KEY"
but I only got a single review - the last one I got in the first query (because I did "ge". If I use "gt", I get no reviews). I don't understand why that is the case - there are 80 reviews per the first call. I would expect to get another 10.
I want to get all 80 reviews, what am I missing?
Share edited Mar 7 at 11:46 VLAZ 29.2k9 gold badges63 silver badges84 bronze badges asked Mar 6 at 19:50 Andy WallaceAndy Wallace 3847 silver badges26 bronze badges1 Answer
Reset to default 1Ok, I heard back from Bridge/Zillow, and per their terms of service, no matter how many reviews there are, you can only get 10. It's semi-clear from the "documentation". Oh well.
本文标签: zillow reviews apinot getting all reviewsStack Overflow
版权声明:本文标题:zillow reviews api - not getting all reviews? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744952493a2634160.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论