What do you want to automate

with Bitget and Teach 'n Go?

Prompt, edit and deploy AI agents that connect to Bitget, Teach 'n Go 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
Future - Market - Get Candle Data with Bitget API on New Class Created from Teach 'n Go API
Teach 'n Go + Bitget
 
Try it
Future - Market - Get Candle Data with Bitget API on New Student Registration from Teach 'n Go API
Teach 'n Go + Bitget
 
Try it
Future - Market - Get Contracts OI with Bitget API on New Class Created from Teach 'n Go API
Teach 'n Go + Bitget
 
Try it
Future - Market - Get Contracts OI with Bitget API on New Student Registration from Teach 'n Go API
Teach 'n Go + Bitget
 
Try it
Future - Market - Get Discount Rate with Bitget API on New Class Created from Teach 'n Go API
Teach 'n Go + Bitget
 
Try it
New Class Created from the Teach 'n Go API

Emit new event when a class is created.

 
Try it
New Student Registration from the Teach 'n Go API

Emit new event when a new student is registered.

 
Try it
Future - Market - Get All Symbols Contracts with the Bitget API

Retrieve all contract symbols by product type. See the documentation

 
Try it
Create Prospect with the Teach 'n Go API

Creates a new prospect inside Teach 'n Go. See the documentation

 
Try it
Future - Market - Get Candle Data with the Bitget API

Retrieve candlestick data for a contract symbol. See the documentation

 
Try it
Create Student with the Teach 'n Go API

Registers a new student in Teach 'n Go. See the documentation

 
Try it
Future - Market - Get Contracts OI with the Bitget API

Retrieve open interest for contracts. See the documentation

 
Try it
Integrate the Bitget API with the Teach 'n Go API
Setup the Bitget API trigger to run a workflow which integrates with the Teach 'n Go API. Pipedream's integration platform allows you to integrate Bitget and Teach 'n Go remarkably fast. Free for developers.

Connect Bitget

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { axios } from "@pipedream/platform";
import crypto from "crypto";

export default defineComponent({
	props: {
		bitget: {
			type: "app",
			app: "bitget",
		}
	},
	async run({ steps, $ }) {
		function sign(message, secretKey) {
			const mac = crypto.createHmac('sha256', secretKey);
			mac.update(message, 'utf8');
			const digest = mac.digest();
			return Buffer.from(digest).toString('base64');
		}

		function preHash(timestamp, method, requestPath, body) {
			return timestamp.toString() + method.toUpperCase() + requestPath + body;
		}

		const emptyBody = "";
		const timestamp = Math.round(new Date());
		const requestPath = "/api/v2/mix/account/account?symbol=btcusdt&productType=USDT-FUTURES&marginCoin=usdt";
		const getSignResult = sign(preHash(timestamp, "GET", requestPath, emptyBody), this.bitget.$auth.secret_key);

		return await axios($, {
			url: `https://api.bitget.com${requestPath}`,
			method: "GET",
			headers: {
				"ACCESS-KEY": this.bitget.$auth.api_key,
				"ACCESS-SIGN": getSignResult,
				"ACCESS-PASSPHRASE": this.bitget.$auth.secret_passphrase,
				"ACCESS-TIMESTAMP": timestamp,
				"locale": "en-US",
				"Content-Type": "application/json"
			}
		})

	},
})

Connect Teach 'n Go

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: {
    teach_n_go: {
      type: "app",
      app: "teach_n_go",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.teachngo.com/globalApis/student_list`,
      headers: {
        "X-API-KEY": `${this.teach_n_go.$auth.api_key}`,
      },
    })
  },
})

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