with College Football Data and Tuesday?
The College Football Data API is a treasure trove for developers and sports analysts wanting to tap into detailed college football statistics and scores. With this API, you can fetch a wide array of data, from team stats to player metrics and game results. Harness this information to fuel apps, dashboards, and automated reporting systems, or to enrich your sports-related datasets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
college_football_data: {
type: "app",
app: "college_football_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.collegefootballdata.com/conferences`,
headers: {
Authorization: `Bearer ${this.college_football_data.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tuesday: {
type: "app",
app: "tuesday",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tuesday.so/api/v1/public/auth`,
headers: {
"X-API-KEY": `${this.tuesday.$auth.api_key}`,
},
})
},
})