code: def get_token(url):
      """get the request token and return the value"""
      rep = requests.get(url)
      data = json.loads(rep.text)
      if "token" in data:
          token = data["token"]
      else:
          token = ""
          print("Can not get token.")
      return token
  
imports: import time
  import logging
  import string
  import random
  import requests
  import json
  import os
  from yaml.representer import SafeRepresenter
  import yaml
  import tableprint
  import config
label_desc: Use image node_id 16 for calling a global function with example usage: get_token(url) and returns: token