Back to APIs list

Resy API examples & templates

Use these vals as a playground to view and fork Resy API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
rlesser avatar
Resy_getFavorites
@rlesser
Script
Get Favorites on Resy This function fetches your favorite restaurants and venues, as specified in your Hit List . Inputs An object containing: authToken - Your authentication token, normally generated from @rlesser.Resy_authenticate . Returns A Favorites object, containing the ids of your favorite venues, defined in the type below. See other Resy vals I've made.
alp avatar
bookReservationOnResy
@alp
Script
An interactive, runnable TypeScript val by alp
maxm avatar
resyAuth
@maxm
Script
Forked from vtdocs/resyAuth
kmb avatar
bookReservationOnResy
@kmb
Script
Forked from alp/bookReservationOnResy
maxm avatar
stiffCoffeeLamprey
@maxm
Script
Forked from stevekrouse/resyBot
stevekrouse avatar
resyAuth
@stevekrouse
Script
Forked from vtdocs/resyAuth
rlesser avatar
Resy_getVenueCalendar
@rlesser
Script
Get a Venue's Calendar on Resy This function fetches the calendar for a given venue on Resy, which gives information on which days the venue is available, sold-out, or closed. Inputs An object containing: venue_id - The Resy venue id, either fetched from the website's network data or from @rlesser_getFavorites (Todo: add venue id from url function) . num_seats - The number of seats you are checking for availability for. Use 2 as a default if you just want to know when the restaurant is closed. Returns A VenueCalendar object, containing: last_calendar_day - A string representing the last day the restaurant has made their calendar available for (normally a few weeks out from today). scheduled - An object containing a list of dates and restaurant statuses. See type below. See other Resy vals I've made.
vtdocs avatar
resyVenueIdFromSlugAndCity
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot)
alp avatar
fulfillReservationRequestsCRON
@alp
Cron
An interactive, runnable TypeScript val by alp
rodrigotello avatar
valTownInspoList
@rodrigotello
Script
Val Town inspiration & use cases list List [as object] used in Val Town's use cases and inspiration. Check it out at in /examples/use-cases and /docs/tutorial/4
2
Next