code: func (a *API) AttachString(str string) {
  	json.Unmarshal([]byte(str), a)
  
  	if !a.initialized {
  		a.Setup()
  	}
  }
docs: // AttachString will unmarshal a raw JSON string, and setup the
  // API if not already done so.