In der folgenden Tabelle sind häufige Anwendungsfälle für diese Methode aufgeführt. Sie können auf den Namen eines Anwendungsfalls klicken, um Beispielparameterwerte in APIs Explorer zu laden. Sie können sich auch Codebeispiele für einen Anwendungsfall im APIs Explorer im Vollbildmodus ansehen. Klicken Sie dazu auf das Codesymbol unter dem Namen eines Anwendungsfalls. In der Vollbild-Benutzeroberfläche können Sie Parameter- und Eigenschaftswerte aktualisieren. Die Codebeispiele werden dann dynamisch aktualisiert, um die eingegebenen Werte widerzuspiegeln.

Use cases
list
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list' example for the videoCategories.list method.
This example retrieves a list of categories that can be associated with YouTube videos in the United States. The regionCode parameter specifies the country for which categories are being retrieved.
list (for a specific region)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (for a specific region)' example for the videoCategories.list method.
This example uses the regionCode to retrieve a list of categories that can be associated with YouTube videos in Spain. It also uses the hl parameter to indicate that text labels in the response should be specified in Spanish.