Skip to content

applications

Applications

Bases: Resource

Source code in nylas/resources/applications.py
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class Applications(Resource):
    @property
    def redirect_uris(self) -> RedirectUris:
        return RedirectUris(self._http_client)

    def info(self) -> Response[ApplicationDetails]:
        """
        Get the application information.

        Returns:
            Response: The application information.
        """

        json_response = self._http_client._execute(
            method="GET", path="/v3/applications"
        )
        return Response.from_dict(json_response, ApplicationDetails)

info()

Get the application information.

Returns:

Name Type Description
Response Response[ApplicationDetails]

The application information.

Source code in nylas/resources/applications.py
12
13
14
15
16
17
18
19
20
21
22
23
def info(self) -> Response[ApplicationDetails]:
    """
    Get the application information.

    Returns:
        Response: The application information.
    """

    json_response = self._http_client._execute(
        method="GET", path="/v3/applications"
    )
    return Response.from_dict(json_response, ApplicationDetails)