I’m trying to get all booking using this API endpoint:
url = f'https://api.youcanbook.me/v1/{ACCOUNT_ID}/bookings'
I’ve build a paginated request that look for the prev link in the header, but at some point for one of the prev link I’m getting a 502 error.
EDIT: the issue is resolved, because I was passing the parameters for each request on every call.
At the same time, as I’m interested on bookings for a specific date I tried to pass the boundaryStartsAt
as query param, but that requires a boundaryId, that I have no idea on how can I generate.
For clarity here my use case:
- I would like to re-trieve all bookings - one time operation for analytics porpouse
- I would like to retrieve all bookings that were created/updated on a give date
Documentation in Retrieving Bookings | YouCanBookMe API seems pretty limited and incomplete.
Thanks