Package blue.starry.penicillin.endpoints.help

Functions

Link copied to clipboard
fun Help.configuration(vararg options: Option): JsonObjectApiAction<Help.Configuration>

Returns the current configuration used by Twitter including twitter.com slugs which are not usernames, maximum photo resolutions, and t.co shortened URL length. It is recommended applications request this endpoint when they are loaded, but no more than once a day.

Link copied to clipboard
fun Help.languages(vararg options: Option): JsonArrayApiAction<Help.Language>

Returns the list of languages supported by Twitter along with the language code supported by Twitter. The language code may be formatted as ISO 639-1 alpha-2 (en), ISO 639-3 alpha-3 (msa), or ISO 639-1 alpha-2 combined with an ISO 3166-1 alpha-2 localization (zh-tw).

Link copied to clipboard
fun Help.privacy(vararg options: Option): JsonObjectApiAction<Help.Privacy>
Link copied to clipboard
fun Help.settings(    includeZeroRate: Boolean? = null,     settingsVersion: String? = null,     vararg options: Option): JsonObjectApiAction<Help.Settings>

Unknown endpoint.

Link copied to clipboard
fun Help.tos(vararg options: Option): JsonObjectApiAction<Help.Tos>

Returns the Twitter Terms of Service. Note: these are not the same as the Developer Policy.

Properties

Link copied to clipboard
val Help.configuration: JsonObjectApiAction<Help.Configuration>

Shorthand property to Help.configuration.

Link copied to clipboard
val Help.languages: JsonArrayApiAction<Help.Language>

Shorthand property to Help.languages.

Link copied to clipboard
val Help.privacy: JsonObjectApiAction<Help.Privacy>

Shorthand property to Help.privacy.

Link copied to clipboard
val Help.settings: JsonObjectApiAction<Help.Settings>

Shorthand property to Help.settings.

Link copied to clipboard
val Help.tos: JsonObjectApiAction<Help.Tos>

Shorthand property to Help.tos.