original_docstring: 
      Query PySpy's proprietary kill database for the character ids
      provided as a list or tuple of integers. Returns a JSON containing
      one line per character id.
  
      :param `character_ids`: List or tuple of character ids as integers.
      :return: JSON dictionary containing certain statistics for each id.
      
docstring: Query PySpy's proprietary kill database for the character ids
  provided as a list or tuple of integers. Returns a JSON containing
  one line per character id.
docstring_tokens: Query PySpy ' s proprietary kill database for the character ids provided as a list or tuple of integers . Returns a JSON containing one line per character id .
code: def post_proprietary_db(character_ids):
      '''
      Query PySpy's proprietary kill database for the character ids
      provided as a list or tuple of integers. Returns a JSON containing
      one line per character id.
  
      :param `character_ids`: List or tuple of character ids as integers.
      :return: JSON dictionary containing certain statistics for each id.
      '''
      url = "http://pyspy.pythonanywhere.com" + "/character_intel/" + "v1/"
      headers = {
          "Accept-Encoding": "gzip",
          "User-Agent": "PySpy, Author: White Russsian, https://github.com/WhiteRusssian/PySpy"
          }
      # Character_ids is a list of tuples, which needs to be converted to dict
      # with list as value.
      character_ids = {"character_ids": character_ids}
      try:
          r = requests.post(url, headers=headers, json=character_ids)
      except requests.exceptions.ConnectionError:
          Logger.info("No network connection.", exc_info=True)
          statusmsg.push_status(
              "NETWORK ERROR: Check your internet connection and firewall settings."
              )
          time.sleep(5)
          return "network_error"
      if r.status_code != 200:
          server_msg = json.loads(r.text)["error"]
          Logger.info(
              "PySpy server returned error code: " +
              str(r.status_code) + ", saying: " + server_msg, exc_info=True
              )
          statusmsg.push_status(
              "PYSPY SERVER ERROR: " + str(r.status_code) + " (" + server_msg + ")"
              )
          return "server_error"
      return r.json()
code_tokens: def post_proprietary_db ( character_ids ) : url = "http://pyspy.pythonanywhere.com" + "/character_intel/" + "v1/" headers = { "Accept-Encoding" : "gzip" , "User-Agent" : "PySpy, Author: White Russsian, https://github.com/WhiteRusssian/PySpy" } character_ids = { "character_ids" : character_ids } try : r = requests . post ( url , headers = headers , json = character_ids ) except requests . exceptions . ConnectionError : Logger . info ( "No network connection." , exc_info = True ) statusmsg . push_status ( "NETWORK ERROR: Check your internet connection and firewall settings." ) time . sleep ( 5 ) return "network_error" if r . status_code != 200 : server_msg = json . loads ( r . text ) [ "error" ] Logger . info ( "PySpy server returned error code: " + str ( r . status_code ) + ", saying: " + server_msg , exc_info = True ) statusmsg . push_status ( "PYSPY SERVER ERROR: " + str ( r . status_code ) + " (" + server_msg + ")" ) return "server_error" return r . json ( )
short_docstring: Query PySpy's proprietary kill database for the character ids
  provided as a list or tuple of integers.
short_docstring_tokens: Query PySpy ' s proprietary kill database for the character ids provided as a list or tuple of integers .
comment: '''
      Query PySpy's proprietary kill database for the character ids
      provided as a list or tuple of integers. Returns a JSON containing
      one line per character id.
  
      :param `character_ids`: List or tuple of character ids as integers.
      :return: JSON dictionary containing certain statistics for each id.
      '''$SEP$# Character_ids is a list of tuples, which needs to be converted to dict
  $SEP$# with list as value.
  