Project Management, Timesheets & Invoices for Teams
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
You can build a variety of applications using the Avaza API, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
avaza: {
type: "app",
app: "avaza",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.avaza.com/api/Account`,
headers: {
Authorization: `Bearer ${this.avaza.$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)
}