relipocere / goperspective

Perspective API Client in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Reference Go Report Card Code Coverage

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.

About

Perspective API Client in Golang

License:MIT License


Languages

Language:Go 100.0%