The largest video game database and video game discovery service.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The RAWG Video Games Database API is a treasure trove for gaming enthusiasts and developers, offering access to a massive collection of video game data. With it, you can pull information such as game titles, ratings, platforms, and release dates. This data can power up apps or websites with rich content or be used to analyze gaming trends. Through Pipedream, you can automate data collection, trigger events based on new or updated game releases, and integrate with other services for notifications or data enrichment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rawg_video_games_database: {
type: "app",
app: "rawg_video_games_database",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rawg.io/api/platforms`,
params: {
key: `${this.rawg_video_games_database.$auth.api_key}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS