An open API service indexing awesome lists of open source software.

https://github.com/monzo/verifiedsms

A go library for interacting with Google Verified SMS
https://github.com/monzo/verifiedsms

Last synced: about 1 year ago
JSON representation

A go library for interacting with Google Verified SMS

Awesome Lists containing this project

README

          

# verifiedsms

This is a go library for interacting with the Google [Verified SMS](https://developers.google.com/business-communications/verified-sms)
service. You'll need to already be signed up as a Verified SMS Partner to use this library.

Example:

```go
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!")
```