Popularity
1.1
Stable
Activity
0.0
Stable
7
0
4
Programming language: Go
License: BSD 3-clause "New" or "Revised" License
Tags:
Third-party APIs
google-email-audit-api alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view google-email-audit-api alternatives based on common mentions on social networks and blogs.
-
aws-sdk-go
The official AWS SDK for the Go programming language. -
telegram-bot-api
Simple and clean Telegram bot client. -
minio-go
Minio Go Library for Amazon S3 compatible cloud storage. -
go-twitter
Go client library for the Twitter v1.1 APIs. -
githubql
Go library for accessing the GitHub GraphQL API v4. -
go-marathon
A Go library for interacting with Mesosphere's Marathon PAAS. -
geo-golang
Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, HERE, Bing, and Mapbox geocoding / reverse geocoding APIs. -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP. -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
clarifai
A Go client library for interfacing with the Clarifai API. -
hipchat
This project implements a golang client library for the Hipchat API. -
go-trending
Go library for accessing trending repositories and developers at Github. -
circleci
A Go client library for interacting with CircleCI's API -
twitter-scraper
Scrape the Twitter Frontend API without authentication and limits. -
go-tgbot
Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router and middleware. -
VK SDK for Golang
Golang module for working with VK API -
codeship-go
Go client library for interacting with Codeship's API v2. -
mixpanel
Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. -
go-telegraph
Telegraph publishing platform API client. -
amazon-product-advertising-api
Go Client Library for Amazon Product Advertising API
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of google-email-audit-api or a related project?
README
go-google-email-audit-api
Go Client Library for Google Email Audit API
go get -u github.com/ngs/go-google-email-audit-api/emailaudit
Email Monitor API
import (
// ...
"github.com/ngs/go-google-email-audit-api/emailaudit"
)
func main() {
// ...
srv, err := emailaudit.New(client) // client = http.Client
if err != nil {
log.Fatalf("Unable to retrieve Email Audit API Client %v", err)
}
endDate := time.Date(2116, time.October, 31, 23, 59, 59, 0, time.UTC)
// Create or update Email Monitor
monitor, err := srv.MailMonitor.Update("example.com",
"ngs", "kyohei", endDate,
emailaudit.MailMonitorLevels{
IncomingEmail: emailaudit.FullMessageLevel,
OutgoingEmail: emailaudit.FullMessageLevel,
Draft: emailaudit.FullMessageLevel,
Chat: emailaudit.FullMessageLevel,
},
)
if err != nil {
log.Fatalf("Unable to update email monitor. %v", err)
}
// List Email Monitors
monitors, err := srv.MailMonitor.List("example.com", "ngs")
if err != nil {
log.Fatalf("Unable to list email monitor. %v", err)
}
for _, m := range monitors {
fmt.Printf("%v %[email protected]%v chat:%v draft:%v incoming:%v outgoing:%v\n",
m.Updated, m.DestUserName, m.DomainName,
m.MonitorLevels.Chat, m.MonitorLevels.Draft,
m.MonitorLevels.IncomingEmail, m.MonitorLevels.OutgoingEmail)
}
// Disable Email Monitor
err = srv.MailMonitor.Disable("example.com", "ngs", "kyohei")
if err != nil {
log.Fatalf("Unable to disable email monitor. %v", err)
}
}
Mailbox Download
Not yet implemented
Author
License
See [LICENSE]
*Note that all licence references and agreements mentioned in the google-email-audit-api README section above
are relevant to that project's source code only.