W tabeli poniżej znajdziesz typowe przypadki użycia tej metody. Możesz kliknąć nazwę przypadku użycia, aby wczytać przykładowe wartości parametrów w narzędziu Google APIs Explorer. Możesz też zobaczyć przykłady kodu dla danego przypadku użycia w pełnoekranowym narzędziu APIs Explorer, klikając ikonę kodu pod nazwą przypadku użycia. W interfejsie pełnoekranowym możesz aktualizować wartości parametrów i właściwości, a przykłady kodu są dynamicznie aktualizowane, aby odzwierciedlać wpisane przez Ciebie wartości.

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.