https://github.com/golevi/spamcheck
Simple client for the Postmark API spam checker.
https://github.com/golevi/spamcheck
api client email go golang postmark spam spam-detection
Last synced: 5 months ago
JSON representation
Simple client for the Postmark API spam checker.
- Host: GitHub
- URL: https://github.com/golevi/spamcheck
- Owner: golevi
- License: mit
- Created: 2020-05-20T20:50:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T01:45:26.000Z (over 5 years ago)
- Last Synced: 2024-06-20T06:31:44.864Z (about 2 years ago)
- Topics: api, client, email, go, golang, postmark, spam, spam-detection
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# spamcheck

spamcheck uses Postmark's spam API. The API is free to use. No API key is
required. For more information visit https://spamcheck.postmarkapp.com/.
```go
package main
import (
"fmt"
"log"
"github.com/golevi/spamcheck"
)
const msg string = `hello i give you money`
func main() {
req := &spamcheck.Request{
Email: msg,
Options: spamcheck.Long,
// Options: spamcheck.Short,
}
resp, err := req.Process()
if err != nil {
log.Println(err)
}
fmt.Println(resp)
}
```