Guardian Slack

A Slack integration (slash command) for The Guardian‘s content API. Remembers recently-posted articles, so it does not repeat itself. Source code on github.


Usage

/gdn [search term] [optionally, number of articles]

Run using node.js — requires setting “GUARDIAN_KEY” to a Guardian API key in environment variables.

Helpful button to deploy: Deploy Information on adding commands to Slack here.

Limitations

Currently limited to posting 5 articles at a time (larger requests will send 5), because Slack integrations can only post 5 times per invocation.


<- Portfolio