skvrahul / SwiggyOrderHooks

Simple library to enable anyone who manages a restaurant on Swiggy to listen into order updates and run custom code or logic in Python
MIT License
1 stars 0 forks source link

[ft] Support multiple restaurant IDs #5

Closed skvrahul closed 8 months ago

skvrahul commented 8 months ago

Currently a SwiggyOrderListener only takes in a single rest ID.

Need to add support for multiple restaurant IDs.

Related and nice to have: Add support for pulling in all permissioned restaurant IDs linked to a given login (#8)

skvrahul commented 8 months ago

The concept of restaurant id already exists at an OrderProcessor level (see abstract_processor.py)

The sample RestDBProcessor.py might need some tweaks.