В таблице ниже показаны распространенные случаи использования этого метода. Вы можете щелкнуть имя варианта использования, чтобы загрузить образцы значений параметров в проводник API. Или вы можете просмотреть примеры кода для варианта использования в полноэкранном проводнике API, щелкнув значок кода под именем варианта использования. В полноэкранном пользовательском интерфейсе вы можете обновлять значения параметров и свойств, а примеры кода будут динамически обновляться в соответствии с введенными вами значениями.

Use cases
list (any channel)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (any channel)' example for the activities.list method.
This example retrieves the 25 most recent activities for the Google Developers channel. It retrieves the snippet and contentDetails parts for each activity resource.
list (my channel)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (my channel)' example for the activities.list method.
This example retrieves the 25 most recent activities performed by the user authorizing the API request.