Skip to content

Retrieves a random piece from the collection of The Metropolitan Museum of Art.

Notifications You must be signed in to change notification settings

jeffcampbell/themet-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

theMet-slack

Retrieves a random piece from the collection of The Metropolitan Museum of Art.

example image 1 Powered by scrAPI and The Metropolitan Museum of Art

What you will need

Setup

  • Clone this repo locally
  • Create a new Heroku app and initialize the repo
  • Push the repo to Heroku
  • Navigate to the settings page of the Heroku app and add the following config variables:
    • OUTGOING_WEBHOOK_TOKEN The token for your outgoing webhook integration in Slack
    • BOT_USERNAME The name the bot will use when posting to Slack
    • BOT_ICON The emoji icon for the bot (I used the book emoji)
  • Navigate to the integrations page for your Slack team. Create an outgoing webhook, choose a trigger word (ex: "random art"), use the URL for your heroku app, and copy the webhook token to your OUTGOING_WEBHOOK_TOKEN config variable.

About

Retrieves a random piece from the collection of The Metropolitan Museum of Art.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages