UNPKG

rss-generator-api

Version:

RSS.app API - Generate RSS feeds from almot any website without coding

17 lines (16 loc) 403 B
// Load the RssApp SDK const RssApp = require('rss-generator-api'); // Create RssApp service object const rssApp = new RssApp({ apiKey: 'c_05ZRCU3EuVX9ga', apiSecret: 's_5umGAwCuP8Ys97nyqZQ8JS', }); // Call RssApp to create the feed rssApp.feed .create({ url: 'https://bbc.com' }) .then((feed) => { console.log('Success', feed); }) .catch((err) => { console.log('Error', err); });