Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a list of application languages that the YouTube website supports.
See: YouTube Data API Reference for youtube.i18nLanguages.list
.
- type I18nLanguagesListResource = "youtube" :> ("v3" :> ("i18nLanguages" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` I18nLanguageListResponse)))))
- i18nLanguagesList :: Text -> I18nLanguagesList
- data I18nLanguagesList
- illPart :: Lens' I18nLanguagesList Text
- illHl :: Lens' I18nLanguagesList Text
REST Resource
type I18nLanguagesListResource = "youtube" :> ("v3" :> ("i18nLanguages" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` I18nLanguageListResponse))))) Source
A resource alias for youtube.i18nLanguages.list
method which the
I18nLanguagesList
request conforms to.
Creating a Request
Creates a value of I18nLanguagesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data I18nLanguagesList Source
Returns a list of application languages that the YouTube website supports.
See: i18nLanguagesList
smart constructor.
Request Lenses
illPart :: Lens' I18nLanguagesList Text Source
The part parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet.
illHl :: Lens' I18nLanguagesList Text Source
The hl parameter specifies the language that should be used for text values in the API response.