Real Simple Syndication
Returns all static metadata available for one or more cryptocurrencies. See the documentation
Retrieve multiple RSS feeds and return a merged array of items sorted by date See documentation
Returns a mapping of all cryptocurrencies to unique CoinMarketCap ids. See the documentation
Returns a paginated list of all active cryptocurrencies with latest market data. See the documentation
Returns the latest market quote for 1 or more cryptocurrencies. Use the ""convert"" option to return market values in multiple fiat and cryptocurrency conversions in the same call. At least one ""id"" or ""slug"" or ""symbol"" is required for this request. See the documentation
The RSS app allows users to automatically fetch and parse updates from web feeds. This functionality is pivotal for staying abreast of content changes or updates from websites, blogs, and news outlets that offer RSS feeds. With Pipedream, you can harness the RSS API to trigger workflows that enable a broad range of automations, like content aggregation, monitoring for specific keywords, notifications, and data synchronization across platforms.
module.exports = defineComponent({
props: {
rss: {
type: "app",
app: "rss",
}
},
async run({steps, $}) {
// Retrieve items from a sample feed
const Parser = require('rss-parser');
const parser = new Parser();
const stories = []
// Replace with your feed URL
const url = "https://pipedream.com/community/latest.rss"
const feed = await parser.parseURL(url);
const { title, items } = feed
this.title = title
if (!items.length) {
$end("No new stories")
}
this.items = items
},
})
The CoinMarketCap API delivers real-time and historical cryptocurrency market data, including price, volume, market cap, and much more, for over 9,000 cryptocurrencies. With this data, you can track crypto trends, compare currency performance, or integrate up-to-date information into apps, widgets, or websites. Pipedream's platform enables developers to create automated workflows that can harness the vast array of data from CoinMarketCap to trigger actions, notify stakeholders, or power analytics dashboards.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
coinmarketcap: {
type: "app",
app: "coinmarketcap",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.coinmarketcap.$auth.environment}-api.coinmarketcap.com/v1/key/info`,
headers: {
"X-CMC_PRO_API_KEY": `${this.coinmarketcap.$auth.api_key}`,
},
})
},
})