此方法有一個常見用途,說明如下。說明下方的按鈕會將範例值填入 API Explorer,或是開啟全螢幕 APIs Explorer,顯示使用這些值的程式碼範例。如果您變更這些值,程式碼範例也會動態更新。

This example retrieves a list of application languages that the YouTube website supports. The example sets the hlparameter value to es_MX, indicating that text values in the API response should be provided in that language. That default value of that parameter is en_US.