getTeams

fun getTeams(ownedOnly: Boolean = false): JSONObject

Function to execute the request to get the teams where the user is a member

Return

the result of the request as JSONObject

Parameters

ownedOnly

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