getCollections

fun getCollections(ownedOnly: Boolean = false): JSONObject

Function to execute the request to get the collections of the user

Return

the result of the request as JSONObject

Parameters

ownedOnly

: whether to get only the collections where the user is the owner