def list_appointment_groups(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_appointment_groups(**kwargs)<EOL>
List appointment groups.

.. warning::
    .. deprecated:: 0.10.0
        Use :func:`canvasapi.canvas.Canvas.get_appointment_groups` instead.

:calls: `GET /api/v1/appointment_groups \
<https://canvas.instructure.com/doc/api/appointment_groups.html#method.appointment_groups.index>`_

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.appointment_group.AppointmentGroup`