Chat and networking platform
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Gitter is a messaging platform developed by British company GitLab. It allows
developers to communicate with each other in real-time, and work on code
collaboration.
Gitter has an API which developers can use to build applications on top of the
platform. Here are some examples of what you can build with the Gitter API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gitter: {
type: "app",
app: "gitter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gitter.im/v1/user`,
headers: {
Authorization: `Bearer ${this.gitter.$auth.oauth_access_token}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}