hubot-headlines-test-package

1.2.3 • Public • Published

hubot-headlines

hubot script to pull NYTimes headlines

See src/headlines.js for full documentation.

Installation

In hubot project repo, run:

npm install hubot-headlines-test-package --save

Then add hubot-headlines to your external-scripts.json:

[
  "hubot-headlines-test-package"
]

##Configuration ''' HUBOT_NYTIMES_API_KEY - key for the New York Times API '''

Sample Interaction

user1>> hubot headlines all
hubot>> Explosive Weapons
    https://www.nytimes.com/2018/01/24/opinion/explosive-weapons.html
What Homoerotic Videos Can Teach Us About Modern Russia
    https://www.nytimes.com/2018/01/24/opinion/homoerotic-videos-russia.html
Mark E. Smith of the Fall: Listen to 12 Essential Tracks
    https://www.nytimes.com/2018/01/24/arts/music/mark-e-smith-the-fall-best-songs.html
Sinking Islands, Floating Nation
    https://www.nytimes.com/2018/01/24/opinion/kiribati-climate-change.html
Sinking Islands, Floating Nation
    https://www.nytimes.com/video/opinion/100000005676901/sinking-islands-floating-nation.html

NPM Module

https://www.npmjs.com/package/hubot-headlines-test-package

Dependents (0)

Package Sidebar

Install

npm i hubot-headlines-test-package

Weekly Downloads

1

Version

1.2.3

License

MIT

Unpacked Size

7.55 kB

Total Files

10

Last publish

Collaborators

  • akitabot