bitly-shorten / net.thauvin.erik.bitly / Bitlinks / expand

expand

@JvmOverloads fun expand(bitlink_id: String, toJson: Boolean = false): String (source)

Expands a Bitlink.

See the Bit.ly API for more information.

Parameters

bitlink_id - The bitlink ID.

toJson - Returns the full JSON response if true

Return
The long URL or JSON response, or on error, an empty string/JSON object.