Skip to content

An awesome module that can help remove toxicity and ensure healthy dialogue online

License

Notifications You must be signed in to change notification settings

Meme-Development/perspectiveapi-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An awesome module that can help remove toxicity and ensure healthy dialogue online. based on Perspective API.
Explore the docs »

Report Bug · Discord

About The Project

Perspective API helps you to have an non toxic community very easily & with our wrapper it can be done more easily.

Here's why:

  • Easy to use
  • Fast & Easy Support
  • Well Documented
  • Frequently updated

Installation & Usage

  1. Details on how to get the API key from google
  2. Install the package
    npm install perspectiveapi-wrapper@latest
  3. Enter your API & get rid of the toxic
const client = require('perspectiveapi-wrapper');

const toxic_police = new client(
	{apiKey: "your api key!"}
);

toxic_police.Analyze("Hello World!", (r) => {
	console.log(r);
});

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GNU General Public License v2.0 License. See LICENSE for more information.

Credits

Releases

No releases published

Packages

No packages published