Package com.selectpdf

Class UsageClient

java.lang.Object
com.selectpdf.ApiClient
com.selectpdf.UsageClient

public class UsageClient
extends ApiClient
Get usage details for SelectPdf Online API.
  • Constructor Details

    • UsageClient

      public UsageClient​(java.lang.String apiKey)
      Construct the Usage client.
      Parameters:
      apiKey - API Key.
  • Method Details

    • getUsage

      public java.lang.String getUsage()
      Get API usage information.
      Returns:
      Usage information as JSON string.
    • getUsage

      public java.lang.String getUsage​(boolean getHistory)
      Get API usage information with history if specified.
      Parameters:
      getHistory - Get history if set.
      Returns:
      Usage information as JSON string.