Skip to content

A go library for interacting with Google Verified SMS

License

Notifications You must be signed in to change notification settings

monzo/verifiedsms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

verifiedsms

This is a go library for interacting with the Google Verified SMS service. You'll need to already be signed up as a Verified SMS Partner to use this library.

Example:

package main

import "github.com/monzo/verifiedsms"

partner := verified_sms.VerifiedSMSPartner{
    ServiceAccountJSONFile: "foobar",
}

agent := verified_sms.VerifiedSMSAgent{
	ID: "barbaz",
	PrivateKey: ...,
}

wasMessageVerified, err := partner.MarkSMSAsVerified(context.Background(), "+447700900461", agent, "hello!")

About

A go library for interacting with Google Verified SMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages