State

Introduction

With the help of the State object, you can find out the status of the work of the services and the Ocugine SDK. This object also reflects the API version and other information about the status of our platform.

The State 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 State object.

Method Usage
state.init Returns general API information
state.get_state Returns Ocugine API services state

What is it for?

We recommend using the state.get_state method before starting your application to check the availability of our services at the current time.