In the API documentation, I didn’t find the ‘skip’ parameter for Yelp reviews. How can we achieve that?
Hello @Sanjay_Raut ,
Welcome them to the community!
Yes, this makes sense, and our devs are already on it. The ability to skip reviews will be available by the end of the next week. You will be able to find documentation here.
I have one more query regarding the Yelp reviews cutoff parameter. When Yelp reviews are fetched through the API, it only returns the date but not the timestamp. However, the cutoff parameter expects timestamp values.
How can we filter data based on the cutoff parameter if the timestamp of the review date is not returned?
In Python, you can convert various data formats into a timestamp using the datetime module. Here’s how you can convert different types of data into a timestamp:
from datetime import datetime date_string = "2023-08-28 12:34:56" dt = datetime.strptime(date_string, '%Y-%m-%d %H:%M:%S') timestamp = dt.timestamp() print(timestamp)