What do you want to automate

with Cerebras and ClassMarker?

Prompt, edit and deploy AI agents that connect to Cerebras, ClassMarker and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Integrate the Cerebras API with the ClassMarker API
Setup the Cerebras API trigger to run a workflow which integrates with the ClassMarker API. Pipedream's integration platform allows you to integrate Cerebras and ClassMarker remarkably fast. Free for developers.

Connect Cerebras

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    cerebras: {
      type: "app",
      app: "cerebras",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.cerebras.ai/v1/models`,
      headers: {
        Authorization: `Bearer ${this.cerebras.$auth.api_key}`,
      },
    })
  },
})

Connect ClassMarker

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import axios from "axios";
import crypto from "crypto";

export default defineComponent({
  props: {
    classmarker: {
      type: "app",
      app: "classmarker",
    }
  },
  async run({ steps, $ }) {
    const timestamp = Math.floor(Date.now() / 1000);
    const string_to_hash = this.classmarker.$auth.api_key + this.classmarker.$auth.api_secret + timestamp;
    const signature = crypto.createHash('md5').update(string_to_hash).digest('hex');
    const { data } = await axios({
      method: "GET",
      url: "https://api.classmarker.com/v1.json",
      params: {
        api_key: this.classmarker.$auth.api_key,
        signature,
        timestamp
      }
    })
    return data
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo