The largest video game database and video game discovery service.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
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}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})