def set_api_url(value):
  
  """ Sets the url that the API uses, in case you're using a self-hosted 
  version of Dashku

  Keyword arguments:
  value -- The API url. In the module, this is http://dashku.com by default

  """ 
  
  global api_url 
  api_url = value
  return api_url