GO Perspective API Client
Perspective API is a free tool that allows you to analyze the sentiment of comments for such attributes as toxicity, threats, etc. This library is an implementation of the API client in Go. Attributes and supported languages. Methods and fields can be found here.
Getting started
Installing
go get github.com/exsocial/goperspective
Usage
Import the package into your project.
import "github.com/exsocial/goperspective"
Construct a new API client.
client := gp.NewClient(os.Getenv("TOKEN"))
See Documentation and Examples below for more detailed information.