Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.27 KB

Slack/Zomato Daily menu

Daily menu for Slack.
❤️ This is an effort to make use of the following:

  • zomato data
  • slack collaboration tool
  • heroku platform as a service

How to use it

Just fire your curl command that represents the following pattern. It is pretty self-explanatory.

POST http://slack-zomato-daily-menu.herokuapp.com/api/send

{
	"restaurants": [
		{
			"zomato_id": "16506717",  // zomato restaurant id
			"slack_icon": ":dno:"     // slack emoji representation of the restaurant
		},
		{
			"zomato_id": "16506578",
			"slack_icon": ":jeba:"
		}
		],
	"slack_token": "TOKEN",          // the ending of Webhook URL - looks like XXXXX/YYYYY/ZZZZZZ
	"slack_channel": "#lunchtime",   // optional: channel/username where to send to
	"slack_username": "Fooood!",     // optional: name of the bot
	"slack_emoji": ":slack:"         // optional: represents the slack emoji of the bot
}

Screenshot

❤️

⚠️Disclaimer: Not officially affiliated with Slack/Zomato in any way. Provided as is.

Enjoy!