5.0.0 • Published 5 years ago
@datafire/cnn_rss v5.0.0
@datafire/cnn_rss
Client library for rss.cnn.com
Installation and Usage
npm install --save @datafire/cnn_rsslet cnn_rss = require('@datafire/cnn_rss').create();
.then(data => {
console.log(data);
});Description
Actions
topStories
CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.
cnn_rss.topStories(null, context)Input
This action has no parameters
Output
- output Feed
world
CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.
cnn_rss.world(null, context)Input
This action has no parameters
Output
- output Feed
politics
CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.
cnn_rss.politics(null, context)Input
This action has no parameters
Output
- output Feed
business
CNNMoney.com, the business website of CNN, combines business news and in-depth market analysis with practical advice and answers to personal finance questions.
cnn_rss.business(null, context)Input
This action has no parameters
Output
- output Feed
Definitions
Feed
- Feed
object- feed
object- link
string - title
string - feedUrl
string - entries
array- items
object- id
string - link
string - title
string - pubDate
string - author
string - content
string - contentSnippet
string
- id
- items
- link
- feed