Utils

Introduction

Using the Utils object, you can access useful utilities that are represented in the Ocugine API. With it, you can check the accuracy of the application data, get customer data and much more.

The Utils object is open and does not require authorization or the provision of application keys.

Available Methods

Below you can see the available API methods for working with the Utils object.

Method Usage
Utils.get_ua Retrieve User Agent data for client
Utils.get_ip Get client IP address
Utils.get_device Get client device type
Utils.check_keys Check application keys for validity

What is it for?

All these methods allow you to access useful utilities and organize validation checks in your application.