Skip to content

Golang SDK for authentication and sending SMS on AT&T API Marketplace (powered by Kandy CPaaS)

Notifications You must be signed in to change notification settings

fatihrd/kandy-cpaas-go-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kandy-cpaas-go-sdk

Install

go get github.com/fatihrd/kandy-cpaas-go-sdk

Supported Features

  • Login via project credentials
  • SendSMS

Example Usage

package main

import (
    "fmt"
    "github.com/fatihrd/kandy-cpaas-go-sdk"
)

func main() {
	fmt.Println("Starting Kandy CPaaS")

	kandyClient := kandy.Initialize(
		"https://oauth-cpaas.att.com",
		"projectKey",
		"projectSecret",
		"exampleClientcorrelator",
	)

	err := kandyClient.Login()
	fmt.Println(err)

	messageID, err2 := kandyClient.SendSMS("+1xxxxxxxxx", "+1xxxxxxxxx", "Test")
	fmt.Println(messageID, err2)
}

About

Golang SDK for authentication and sending SMS on AT&T API Marketplace (powered by Kandy CPaaS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages