pitch-custom-attribution-sdk

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 4 Imported by: 0

README

pitch-custom-attribution-sdk

This is our Custom Attribution SDK for the API documented below.

One of the products that is currently using this API is Snowpal Project Management.

Documentation

Overview

Check out the recipes to get a sense of what the underlying API has to offer. Here's a simple example:

package main

import (
	"github.com/snowpal/pitch-custom-attribution-sdk/lib/recipes"

	log "github.com/sirupsen/logrus"
)

func main() {
	var err error
	if config.Files, err = config.InitConfigFiles(); err != nil {
		log.Fatal(err.Error())
		return
	}

	recipeID := 1
	switch recipeID {
	case 1:
		log.Info("Run Recipe1")
		recipes.RegisterFewUsers()
	default:
		log.Info("pick a specific recipe to run")
	}
}

For a full guide, visit https://developers.snowpal.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL