vtdocs avatar
resyGetMatchingSlot
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) This val attempts to return a single valid slot (per the time range requirements). If there are no valid slots, it throws an error. When there are multiple valid slots, it picks the middle slot (by ordering, not necessarily by time).
vtdocs avatar
resyBookSlot
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) Given a valid booking token, this val attempts to make a reservation for the booking token's slot. There is some retry logic as the API route (rarely) returns an internal server error.
vtdocs avatar
resyAuth
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) Get a user's auth token and payment methods.
vtdocs avatar
resyGetSlotBookingToken
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) Given a valid slot, this val generates the booking token that's required to place a reservation.
vtdocs avatar
resyVenueIdFromSlugAndCity
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot)
1
Next
v1
October 23, 2023