College Football Data

CollegeFootballData.com (CFBD) is a sports statistics and analytics website with no direct affiliation to the NCAA, its member conferences, or its member teams.

Integrate the College Football Data API with the Bash API

Setup the College Football Data API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate College Football Data and Bash remarkably fast. Free for developers.

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of College Football Data

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.

Connect College Football Data

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $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