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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

Ok, 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