🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.

Telegram Bot

Telegram is a cloud-based instant messaging and voice over IP service

Go to site

Integrate the Telegram Bot API with the SWAPI - Star Wars API

Setup the Telegram Bot API trigger to run a workflow which integrates with the SWAPI - Star Wars API. Pipedream's integration platform allows you to integrate Telegram Bot and SWAPI - Star Wars remarkably fast. Free for developers.

Connect Telegram Bot

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    telegram_bot_api: {
      type: "app",
      app: "telegram_bot_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
    })
  },
})

Connect SWAPI - Star Wars

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    swapi: {
      type: "app",
      app: "swapi",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://swapi.dev/api/films/1/`,
    })
  },
})