docs: def register(self, server=None):
          """ Registers the client with the Pump API retrieving the id and secret """
          if (self.key or self.secret):
              return self.update()
  
          server_data = self.request(server)
  
          self.key = server_data["client_id"]
          self.secret = server_data["client_secret"]
          self.expirey = server_data["expires_at"]