java.lang.Object
com.github.jamesnetherton.zulip.client.api.core.ZulipApiRequest
com.github.jamesnetherton.zulip.client.api.server.request.GetApiKeyApiRequest
All Implemented Interfaces:
ExecutableApiRequest<String>

public class GetApiKeyApiRequest extends ZulipApiRequest implements ExecutableApiRequest<String>
Zulip API request builder for getting a user API key.
See Also:
  • Field Details

  • Constructor Details

    • GetApiKeyApiRequest

      public GetApiKeyApiRequest(ZulipHttpClient client, String username)
      Constructs a GetApiKeyApiRequest. To obtain an API key for development servers
      Parameters:
      client - The Zulip HTTP client
      username - The username to fetch the development API key for
    • GetApiKeyApiRequest

      public GetApiKeyApiRequest(ZulipHttpClient client, String username, String password)
      Constructs a GetApiKeyApiRequest. To obtain an API key for production servers
      Parameters:
      client - The Zulip HTTP client
      username - The username to fetch the development API key for
      password - The password to fetch the development API key for
  • Method Details