A simple, drag and drop tool for creating mobile forms.
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The GoCanvas API enables you to build applications that can create, edit, and
view Canvas documents.
With the GoCanvas API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gocanvas: {
type: "app",
app: "gocanvas",
}
},
async run({steps, $}) {
const data = {
"username": `${this.gocanvas.$auth.username}`,
}
return await axios($, {
url: `https://www.gocanvas.com/apiv2/forms.xml`,
headers: {
Authorization: `Bearer ${this.gocanvas.$auth.api_key}`,
},
data,
})
},
})
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)
}