Customer loyalty and engagement platform
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
LoyaltyLion is a platform that enables businesses to create and manage loyalty
programs. With the LoyaltyLion API, businesses can create and manage loyalty
programs, as well as track and analyze customer behavior.
Some examples of what you can build with the LoyaltyLion API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loyaltylion: {
type: "app",
app: "loyaltylion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.loyaltylion.com/v2/customers`,
headers: {
Authorization: `Bearer ${this.loyaltylion.$auth.oauth_access_token}`,
},
params: {
since_id: `0`,
limit: `2`,
},
})
},
})
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)
}