with The Odds API and CaptureKit?
Retrieve the current odds for a specific sport or match. See the documentation
Capture a high-quality image of any webpage. See the documentation
Get a list of upcoming sports events available on The Odds API. See the documentation
Extract structured data from any webpage, including metadata, links, and raw HTML. See the documentation
With The Odds API on Pipedream, you can access a range of bookmakers and exchanges to get live and upcoming sports odds. This integration allows you to create workflows for odds comparison, betting opportunities, or even to power a custom alerting system for when odds reach a certain threshold. The data provided by The Odds API can be used to inform decisions or feed into other apps for enhanced functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
the_odds_api: {
type: "app",
app: "the_odds_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.the-odds-api.com/v4/sports/basketball_nba/scores/`,
params: {
daysFrom: `1`,
apiKey: `${this.the_odds_api.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
capturekit: {
type: "app",
app: "capturekit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.capturekit.dev/capture`,
headers: {
"x-access-key": `${this.capturekit.$auth.access_key}`,
},
params: {
url: `https://pipedream.com`,
},
})
},
})