code: public static ApiContext create(String clientId, String clientSecret, Mode mode) {
          if (instance == null) {
              synchronized (ApiContext.class) {
                  if (instance == null) {
                      instance = new ApiContext(clientId, clientSecret, mode);
                  }
              }
          }
  
          return instance;
      }
docs: Create a context
  
  @param clientId     the client id
  @param clientSecret the client secret
  @param mode         TEST or LIVE
  @return the api