Increases the amount of logged API calls for the user by 1.

def log_api_call(self):
        """Increases the amount of logged API calls for the user by 1."""
        history = self.get_history()
        history.amount_api_calls += 1
        self._history = history.save()
        return history