code: func (s *Adaptor) Function(name string, args string) (val int, err error) {
  	params := url.Values{
  		"args":         {args},
  		"access_token": {s.AccessToken},
  	}
  
  	url := fmt.Sprintf("%s/%s", s.deviceURL(), name)
  	resp, err := s.request("POST", url, params)
  
  	if err != nil {
  		return -1, err
  	}
  
  	val = int(resp["return_value"].(float64))
  	return
  }
docs: // Function executes a core function and
  // returns value from request.
  // Takes a String as the only argument and returns an Int.
  // If function is not defined in core, it will time out