expand

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

Expands a Bitlink.

See the Bit.ly API for more information.

Return

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

Parameters

bitlink_id

The bitlink ID.

toJson

Returns the full JSON response if true