The Detector v4 API is easy to use. We have collected a couple of simplified implementation examples below. Please forward additional implementations, if you wish to share them with others.
Janitor v0.7.8 uses Detector v4 - if you're using Janitor, all you need is the latest version.
Make sure you store the received segment (in session or similar), to avoid redundant requests/identifications and provide the best possible user experience.
Be aware of our terms.
As of Detector v3 it is also possible to build a static version of Detector for production implementations to reduce dependencies of the API.