User login & payments for modern websites
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Memberstack is an API that enables developers to easily add membership features
to their websites and apps. With Memberstack, developers can add features such
as login/logout, signup/login, payment processing, and more. Memberstack also
makes it easy to manage users and their data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memberstack: {
type: "app",
app: "memberstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.memberstack.com/v1/members`,
headers: {
"X-API-KEY": `${this.memberstack.$auth["X-API-KEY"]}`,
},
})
},
})
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)
}