PolarApi Interface
Introduction
The PolarApi
interface serves as the entry point to access various components and functionalities within the Polar API. It provides methods to retrieve the Server
object, access the UserRepository
, and manage events through the Events class.
Methods
The PolarApi
interface provides the following methods:
server
Server server();
Description:
This method retrieves the Server
object, which provides access to server-related functionalities.
Returns:
The Server
object.
userRepository
UserRepository userRepository();
Description:
This method retrieves the UserRepository
object, which provides methods to query user information.
Returns:
The UserRepository
object.
events
Events events();
Description:
This method accesses the event management class, Events
, which facilitates event handling.
Returns:
The Events
object.