P

Perspective Comment Analyzer API

REST discovered

Details Spec supplied by APIs.guru
URL
https://commentanalyzer.googleapis.com/v1alpha1
Spec
https://api.apis.guru/v2/specs/googleapis.com/commentanalyzer/v1alpha1/openapi.json
Docs
https://developers.perspectiveapi.com/s/docs
Authentication
Perspective API key api_key discovered Get key ↗
?key=<credential>

Use a Google Cloud project that has been approved for Perspective API access. First submit the Perspective API access request form, wait for the approval email, then in the Get started with Perspective API codelab follow Enable the API and Generate the API key in Google Cloud Console. The samples show passing the key as the key query parameter.

Google OAuth 2.0 access token for Perspective Comment Analyzer API oauth2 discovered Set up OAuth ↗

Create Google OAuth 2.0 credentials in Google Cloud for a project with Perspective API enabled, then obtain a user access token for the Perspective Comment Analyzer API scopes. The generated OpenAPI for this API documents OAuth 2.0 support and accepts access_token / oauth_token as alternatives to an API key. Start from the Google OAuth/OpenAPI description for this API.