Meetups to Slack
Number of APIs: 11
Pipe upcoming meetup events to a Slack notification.
Web-viewable collection documentation is published here.
- Get upcoming meetups related to keyword
Qodex
. - Send a message about any upcoming meetups via a Slack webhook. Instead of Slack, this step can be customized to your specific chat or notification platform.
- Update your environment to store the state of all the previous meetups. This step is especially useful when scheduling periodic checks for new events.
Get Started
To run the requests in the first folder, update the following required environment variables.
Environment variables | Required | Description |
---|---|---|
meetupKey | required | Meetup API requires an API key to access their endpoints |
slackWebhook | required | Slack provides incoming webhooks to post messages from apps into Slack |
To run the requests in the second folder, update the required environment variables.
Environment variables | Required | Description |
---|---|---|
Qodex_api_key | required | Generate your key from the Qodex web dashboard |
current_environment_name | required | We will use the Qodex API to identify your environment's ID |
Run the collection
- Collection runner: To run the collection one time, use the Qodex collection runner.
- Automated collection runs: To run the collection on a scheduled frequency, use a Qodex monitor or use Qodex's command line tool Newman with a cron job.
-
Find Qodex meetups - Find meetup group details GET {{rootUrl}}/:urlname
-
Find Qodex meetups - Post to slack POST {{slackWebhook}}
-
Persist environment variables - All Environments GET https://api.getpostman.com/environments
-
Other helper requests - See categories GET {{rootUrl}}/2/categories?key={{meetupKey}}
-
Other helper requests - See cities GET {{rootUrl}}/2/cities?key={{meetupKey}}&country=FR&lat=48.8566&lon=2.3522&radius=6
-
Other helper requests - Find groups GET {{rootUrl}}/topics?search=lgbt&only=id,name&key={{meetupKey}}
-
Other helper requests - Find topics GET {{rootUrl}}/find/topics?key={{meetupKey}}&query=dogs
-
Persist environment variables - Single Environment GET https://api.getpostman.com/environments/{{environment_uid}}
-
Find Qodex meetups - Find upcoming events related to Qodex GET {{rootUrl}}/find/upcoming_events?key={{meetupKey}}&start_date_range={{startDate}}&end_date_range={{endDate}}&text=Postman&radius=global&topic_category=292
-
Persist environment variables - Update Environment PUT https://api.getpostman.com/environments/{{environment_uid}}