Alkaar / resy-booking-bot

🔫 Helps to snipe hard to get reservations at restaurants that use resy
401 stars 214 forks source link

Enumerated list of supported table types per venue #110

Open kharimames opened 1 year ago

kharimames commented 1 year ago

Is there a way to determine a list of table types supported by each venue? For example, I see 'Dining Room' as one option in the documentation but I know one venue that has a main dining room as well as a private dining room, and I can imagine other venues might have different naming conventions for their rooms. Would you happen to know if the list of available table types is static or configured by the venue; if the latter, how can we determine what that looks like? I tried searching the /find endpoint response for one venue but couldn't find any that resembled a list of these types.

Alkaar commented 1 year ago

The /find endpoint response actually has the list of table types. It's hard to parse because it's in JSON format. I would recommend you copying/pasting it into a JSON formatter where it'll be easier to read. I tried to find if there's a better way to determine what the list of possible table types are and this is the only way as far as I can tell.