class_docstr: Intercom StreamAlert app
class_docstr_tok: ["Intercom","StreamAlert","app"]
docstr: Return the number of seconds this polling function should sleep for
  between requests to avoid failed requests. Intercom API allows for a default of 500 requests
  every minute, distributed over 10 seconds periods. This means for a default rate limit of
  500 per minute, you can send a maximum of 83 operations per 10 second period. It's unlikely
  we will hit that limit, so this can default to 0.
  
  Resource(s):
      https://developers.intercom.com/intercom-api-reference/reference#rate-limiting
  
  Returns:
      int: Number of seconds that this function should sleep for between requests
docstr_tok: ["Return","the","number","of","seconds","this","polling","function","should","sleep","for","between","requests","to","avoid","failed","requests",".","Intercom","API","allows","for","a","default","of","500","requests","every","minute",",","distributed","over","10","seconds","periods",".","This","means","for","a","default","rate","limit","of","500","per","minute",",","you","can","send","a","maximum","of","83","operations","per","10","second","period",".","It","'s","unlikely","we","will","hit","that","limit",",","so","this","can","default","to","0",".","Resource","(","s",")",":","https",":","\/\/developers.intercom.com\/intercom-api-reference\/reference","#","rate-limiting","Returns",":","int",":","Number","of","seconds","that","this","function","should","sleep","for","between","requests"]
code: def _sleep_seconds(self):
      """Return the number of seconds this polling function should sleep for
      between requests to avoid failed requests. Intercom API allows for a default of 500 requests
      every minute, distributed over 10 seconds periods. This means for a default rate limit of
      500 per minute, you can send a maximum of 83 operations per 10 second period. It's unlikely
      we will hit that limit, so this can default to 0.
  
      Resource(s):
          https://developers.intercom.com/intercom-api-reference/reference#rate-limiting
  
      Returns:
          int: Number of seconds that this function should sleep for between requests
      """
      return 0
  
file_path: streamalert/streamalert/apps/_apps/intercom.py
imports: import calendar
  import time
  import re
  import requests
  from .None import AppIntegration, StreamAlertApp, get_logger
label_desc: Use image node_id 5 for calling the IntercomApp obj's underlying member method code with example usage: obj._sleep_seconds() and returns: int