code: def _anime_add(self, data):
          
          if isinstance(data, Anime):
              xmlstr = data.to_xml()
              r = requests.get(self.apiurl + "animelist/add/{}.xml".format(data.id),
                               params={'data': xmlstr},
                               auth=HTTPBasicAuth(self._username, self._password),
                               headers=self.header)
              if r.status_code != 201:
                  raise ServerError(r.text, r.status_code)
              return True
          else:
              raise SyntaxError(
                  "Invalid type: data should be a Pymoe.Mal.Objects.Anime object. Got a {}".format(type(data)))
docs: Adds an anime to a user's list.
  
          :param data: A :class:`Pymoe.Mal.Objects.Anime` object with the anime data
          :raises: SyntaxError on invalid data type
          :raises: ServerError on failure to add
          :rtype: Bool
          :return: True on success