Class AccountInfo

java.lang.Object
ai.webscraping.result.AccountInfo

public final class AccountInfo extends Object
Account quota information returned by GET /account.
  • Constructor Details

    • AccountInfo

      public AccountInfo(String email, long remainingApiCalls, Long resetsAt, Integer remainingConcurrency)
  • Method Details

    • getEmail

      public String getEmail()
      The account's email address.
    • getRemainingApiCalls

      public long getRemainingApiCalls()
      Number of API calls remaining in the current billing period.
    • getResetsAt

      public Long getResetsAt()
      Unix-time (seconds) when the API-call allowance resets, or null.
    • getRemainingConcurrency

      public Integer getRemainingConcurrency()
      Number of concurrent requests still available, or null.
    • toString

      public String toString()
      Overrides:
      toString in class Object