How to use Explicit Content Detection API with JavaScript in 5 minutes?

How to use Explicit Content Detection API with JavaScript in 5 minutes?