@sugarcube/plugin-guardian
v0.42.1
Published
Fetch content from the Guardian.
Downloads
32
Maintainers
Readme
@sugarcube/plugin-guardian
Query the The Guardian open-platform.
Installation
npm install --save @sugarcube/plugin-guardian
Register for an API key
Browse to the Sign-Up page. You need to specify a valid Email. The API key will be send to you.
Plugins
guardian_search
This plugin searches the Guardian archive. The query type is guardian_search
.
Configuration:
guardian.key
: The API key you received after signing up.
Example:
$(npm bin)/sugarcube -p guardian_search \
-Q guardian_search:Keith\ Johnstone \
--guardian.key <your API key>